Skip to content

Conversation

@cipri-tom
Copy link
Contributor

Implements keyboard shortcuts to manually refresh the display:

  • F5: Refresh screen and redraw all interface elements
  • Ctrl+L: Same as F5, common terminal refresh shortcut

Uses complete window reinitialization to ensure proper redraw of all elements including window borders and frames.

Fixes #394

🤖 Generated with Claude Code

cipri-tom and others added 2 commits August 15, 2025 20:52
Implements keyboard shortcuts to manually refresh the display:
- F5: Refresh screen and redraw all interface elements
- Ctrl+L: Same as F5, common terminal refresh shortcut

Uses complete window reinitialization to ensure proper redraw
of all elements including window borders and frames.

Fixes Syllo#394

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Implements comprehensive terminal state handling to fix display
corruption when reconnecting to tmux sessions:

- Add SIGCONT signal handler to detect process resumption
- Add KEY_RESIZE event handling for ncurses-detected state changes
- Both events trigger complete window reinitialization
- Eliminates garbage display issues after tmux disconnect/reconnect

This matches the behavior of well-behaved terminal applications
like htop that properly handle terminal state transitions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@Syllo
Copy link
Owner

Syllo commented Oct 25, 2025

Thanks you

@Syllo Syllo merged commit 2005d0b into Syllo:master Oct 25, 2025
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.

Add support for manual screen redraw (e.g., Ctrl+L)

2 participants