@wrongstack/tui 0.68.0 → 0.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -15
- package/dist/index.d.ts +1 -9
- package/dist/index.js +91 -616
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -76,21 +76,7 @@ process.exit(exitCode);
|
|
|
76
76
|
| `Esc` | Close any picker / dialog / agents monitor |
|
|
77
77
|
| `Ctrl+L` | Clear screen (TUI keeps state — equivalent to scrolling) |
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
With `--mouse` the TUI takes over terminal mouse tracking (forces alt-screen; native wheel-scroll and text selection are suspended until `/mouse off`). Then:
|
|
82
|
-
|
|
83
|
-
- **Wheel** scrolls chat history, or moves the selection in an open picker.
|
|
84
|
-
- **Click or drag the right-edge scrollbar** to jump/scrub the chat viewport to any position.
|
|
85
|
-
- **Click inside the input** to move the caret (single- and multi-line).
|
|
86
|
-
- **Click** a picker item to select + confirm it (single click).
|
|
87
|
-
- **Click** the permission dialog's `[y]/[n]/[a]/[d]` buttons.
|
|
88
|
-
- **Click** a `/rewind` checkpoint to select it; click again to rewind.
|
|
89
|
-
- **Click** the status-bar model chip to open the model picker, or the `∞ MODE` chip to open the autonomy picker.
|
|
90
|
-
- **Click** a `/settings` row to focus it; click again to cycle its value.
|
|
91
|
-
- **Click** the lower region to dismiss an open monitor (`Ctrl+F/G/T/P`) or the `?` help overlay (parity with `Esc`).
|
|
92
|
-
|
|
93
|
-
Keyboard shortcuts (always available in managed/alt-screen mode, not just `--mouse`):
|
|
79
|
+
Keyboard shortcuts (always available in managed/alt-screen mode):
|
|
94
80
|
- **PgUp/PgDn** — page scroll through chat history.
|
|
95
81
|
- **Home/End** — jump to top/bottom of chat history (when input is empty); move cursor to start/end of line (when typing).
|
|
96
82
|
- **Ctrl+Home/End** — jump to top/bottom of chat history (always, even when typing).
|
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ interface RunTuiOptions {
|
|
|
81
81
|
projectRoot?: string;
|
|
82
82
|
/** Render into the terminal's alternate screen buffer (like vim/less/htop).
|
|
83
83
|
* Default: false — native scrollback stays live so chat history is
|
|
84
|
-
* scrollable
|
|
84
|
+
* scrollable (wheel / Shift+PgUp), which matches the user's
|
|
85
85
|
* "this is a chat app, let me scroll the chat" intuition. Pass true
|
|
86
86
|
* (or run with `--alt-screen`) for the full-screen mode that owns the
|
|
87
87
|
* terminal and prevents resize/overlay leaks of the live region —
|
|
@@ -89,14 +89,6 @@ interface RunTuiOptions {
|
|
|
89
89
|
* while the TUI is up and only what's currently on screen is visible.
|
|
90
90
|
*/
|
|
91
91
|
altScreen?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Enable full mouse support: clickable list items in menus/pickers and
|
|
94
|
-
* in-app mouse-wheel scrolling of the chat history. Opt-in (default false)
|
|
95
|
-
* because enabling terminal mouse tracking disables the terminal's own
|
|
96
|
-
* wheel-scroll and text-selection/copy. When true this FORCES alt-screen
|
|
97
|
-
* on (the app must own the screen to render its scroll viewport).
|
|
98
|
-
*/
|
|
99
|
-
mouse?: boolean;
|
|
100
92
|
/**
|
|
101
93
|
* Called right after we exit the alt-screen on a clean shutdown. The
|
|
102
94
|
* CLI uses this to print a one-line "session saved to …" hint into
|