diff --git a/ui-tui/src/components/appLayout.tsx b/ui-tui/src/components/appLayout.tsx index 6cb6de59e..171ee27f5 100644 --- a/ui-tui/src/components/appLayout.tsx +++ b/ui-tui/src/components/appLayout.tsx @@ -216,8 +216,15 @@ const ComposerPane = memo(function ComposerPane({ + {/* + Subtract the NoSelect paddingX={1} (2 cols total) and the + prompt-glyph column (pw) so cursorLayout agrees with the + width wrap-ansi actually uses at render time. Off-by-one/ + two here manifests as the final letter flickering + in/out when a sentence crosses the wrap boundary. + */} ', 'run a shell command (e.g. !ls, !git status)'], + ['{!}', 'interpolate shell output inline (e.g. "branch is {!git branch --show-current}")'] ]