Hacker News new | ask | show | jobs
by phone8675309 837 days ago
How often is your terminal getting scrambled to the point where you're running 'reset'?

I have to run it, tops, maybe once a day when a remote screen session gets disconnected.

1 comments

Very often unfortunately. But even when it doesn't I use `reset` to clear the scrollback history so it's easier to get to the start of a command.

I'd really like terminal emulators to support marking the default top of the scrollback so I don't lose the earlier history but still get the benefit of being able to easily find the start of a command, but I'm not aware of any terminal emulators having any features that do anything like that. So `reset` is the next best thing.

Lots of terminal emulators support graphical hints to box command output together. There was even a discussion about this exact feature just a few days ago on HN.

You can also emulate this behaviour in your shell using the prompt string. Which is something I see a lot of people do too.

You probably can’t do either of these things in the VSCode term that you like, but that term is shit.