quit static method
A command that signals the program to quit.
This triggers a graceful shutdown sequence:
- Terminal state is restored
- Alt screen is exited (if used)
- Cursor is shown
- Program exits
KeyMsg(key: Key(type: KeyType.runes, runes: [0x71])) => // 'q'
(this, Cmd.quit()),
Implementation
static Cmd quit() => const Cmd(_quit);