Running Vim & Htop
vim, htop, less, nano -- full-screen programs just work, right inside a Rysh pane.
What you'll see
- Launch rysh; a pane is a full PTY-backed shell.
- Open
vim hello.go-- the alternate screen triggers automatic raw mode. - Insert text, then
:wqto save and quit. - Run
htop; the vt10x emulator renders the live process view. - Press
qto quit back to the shell.
Commands shown
rysh
vim hello.go
i
package main
func main() {}
:wq
htop
q
Keys used
Transcript
0:00vim, htop, less, nano -- full-screen programs just work, right inside a Rysh pane.
0:03Start rysh -- a pane is a full PTY-backed shell.
0:07Open a file in vim. The moment vim switches to its alternate screen, Rysh detects it and enters raw mode automatically.
0:14Now every keystroke flows straight to the terminal emulator. Insert mode, normal mode -- vim behaves exactly as it should.
0:24Write and quit with colon-w-q. Back to the shell, no surprises.
0:30Run htop -- another alternate-screen program. Rysh's vt10x emulator renders the live process view inside the pane.
0:40Press q to quit htop and return to your shell prompt.
0:47Interactive terminal apps, no configuration, no caveats.