Commit 0da7a75
committed
fix(tui): raise ink maxFps to 60 to stop flickering
The flicker was coming from the renderer path, not from chat state
churn.
`Input.tsx` keeps typing local to `@inkjs/ui`’s `TextInput`, so the
whole chat transcript is not re-rendering on every keypress.
The actual hot path is `tui.tsx`, where Ink renders the terminal UI
and throttles frame updates.
TextInput redraws the line on each keystroke, including the inverse-video
cursor; when you type faster than the default render cadence, some
terminals show that as flicker/skipped repaint.
Raising `maxFps` does not change app behavior, just lets the TUI flush
input updates more smoothly.1 parent 5635427 commit 0da7a75
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments