Commit a5afebe
fix(desktop): scroll to bottom when user types to prevent stuck scrollback
When the user scrolled up in the terminal's scrollback buffer and then
typed (e.g., responding "Yes" to Claude Code), the view could remain
showing old content instead of auto-scrolling to follow new output.
Added scrollToBottom() method that snaps the view to the latest output
whenever the user presses a key. This ensures the user always sees the
response after typing input.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 1aa712e commit a5afebe
2 files changed
Lines changed: 20 additions & 0 deletions
File tree
- apps/desktop/Sources/PlexusOneDesktop/Views
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
0 commit comments