diff options
| author | Stefan Boberg <[email protected]> | 2026-03-30 17:38:45 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-30 17:38:45 +0200 |
| commit | 3edce89333d98f95f8f5faa06dc13e88376c8133 (patch) | |
| tree | 5af717e60e00cafd16dce2aaf1ead9ac6fa4e962 /src/zenserver/proxy/tcpproxy.cpp | |
| parent | Request validation and resilience improvements (#864) (diff) | |
| download | zen-3edce89333d98f95f8f5faa06dc13e88376c8133.tar.xz zen-3edce89333d98f95f8f5faa06dc13e88376c8133.zip | |
Add interactive help command to zen CLI
- Add `zen help` command with three modes:
- Interactive picker (TuiPickOne) to browse all commands by category
- `zen help <command>` to view a specific command's help in a pager
- `zen help --list` for non-interactive plain text listing
- Extend consoletui with new TUI primitives:
- Public ConsoleKey enum with PageUp/Down, Home/End, Backspace, Char, Resize
- TuiReadKey()/TuiReadKeyChar() for cross-platform key input
- TuiPager() for fullscreen scrollable text viewing with `/` search
- Enhance TuiPickOne with incremental type-to-filter, viewport scrolling,
line truncation, initial selection and filter persistence
- Switch TuiPickOne to alternate screen buffer for clean resize handling
- Handle console resize events (WINDOW_BUFFER_SIZE_EVENT on Windows,
SIGWINCH on POSIX)
- Move CommandInfo struct to zen.h for reuse by help command
Diffstat (limited to 'src/zenserver/proxy/tcpproxy.cpp')
0 files changed, 0 insertions, 0 deletions