3 ms·
Here's a bonus: Ever ran a command that left your terminal mangled after it finished? No output, weird chars, etc. That's lack of proper tty hygiene on the of
by alganet 2y ago
Here's a bonus:
Ever ran a command that left your terminal mangled after it finished? No output, weird chars, etc.
That's lack of proper tty hygiene on the offending command. Instead of killing your terminal, type:
stty sane
And you'll demangle it.
- anothername12 2y agoI think the command “reset” does something similar
- alganet 2y agoYou are correct! I think it does a little more (restoring cursor if hidden, etc). If you have it, it is probably better than `stty sane`
- Biganon 2y agoAny idea what can cause the cursor to suddenly dissappear? It's the only issue I currently have with wezterm, an otherwise fantastic terminal emulator
- alganet 2y agoMany, many interactive programs. Programs that draw a progressbar often hide the cursor so there won't be a blinking cursor "glitching" the visuals. Once you see it, you'll start noticing programs that hide the cursor. If it happens only on wezterm, it is probably some kind of bug on their part (no support for the escape code that re-enables the cursor maybe?). Have you tried other terminals?
- foresto 2y agoOr `tput reset` to skip the one-second wait intended for hardware terminals.