Skip to content

fix: stabilize local terminal scroll sync - #68

Merged
qfxiongbinbin merged 1 commit into
mainfrom
fix/local-terminal-scroll-stability
Apr 21, 2026
Merged

qfxiongbinbin merged 1 commit into
mainfrom
fix/local-terminal-scroll-stability

Conversation

@qfxiongbinbin

Copy link
Copy Markdown
Owner

Summary

  • batch active terminal output writes into a single animation-frame flush
  • track sticky-bottom state explicitly instead of recalculating per output chunk
  • debounce viewport fit and PTY resize sync to reduce cursor jumps under heavy output

Affected Areas

  • local terminal rendering in ServerDeck/src/App.tsx
  • terminal viewport resize synchronization for local and remote tabs

Validation

  • cd ServerDeck && ./node_modules/.bin/tsc --noEmit
  • manually review terminal output flow and resize handling changes

Screenshots

  • N/A (behavioral fix)

@qfxiongbinbin
qfxiongbinbin merged commit 60fbb81 into main Apr 21, 2026
@qfxiongbinbin
qfxiongbinbin deleted the fix/local-terminal-scroll-stability branch April 21, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant