Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

iTerm takes this approach with closing panes, and it’s an absolute life saver. When you close a terminal, it keeps the shell process running until you take some other action, or some timer runs out, and can fully restore it if you cmd-Z.

I really wish browsers would do the same with closing browser tabs.

Edit: To clarify, I mean that I wish browsers would actually keep the tab process running for a short while so that the entire state can be restored. I’m aware of “reopen tab”, but that doesn’t help you in most cases if you have a paragraph typed into a web app and accidentally close it.



At least in Firefox you can restore a closed Tab with CTRL (or Cmd on Mac) + Shift + T.


Yes, but that just reloads the tab and tries to repopulate input fields. The actual state of the tab is lost.


> I really wish browsers would do the same with closing browser tabs.

They do, though. Ctrl-Shift-T does it for me (FF).


That reopens the page, but it doesn’t correctly preserve state. Browsers will typically try to restore things like input values, but all JS state is lost, which means most cases where you had actual work to restore don’t work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: