kempnerpulse.present.controller¶
Keyboard command handling and the raw-terminal context manager.
CommandController owns the view state the dashboard reads (focused GPU,
plot/job mode, fleet scroll offset, the :-command buffer) and parses raw
stdin bytes — including CSI arrow/page escape sequences — into state changes.
cbreak_stdin() puts the terminal into cbreak mode so single keystrokes are
delivered without a newline; outside a TTY it is a no-op.
Functions
|
Put stdin into cbreak mode for single-keystroke input; no-op off-TTY. |
Classes
View-mode and input state shared between the input loop and the renderer. |