Skip to content

feat: add session preview panel#149

Draft
renato0307 wants to merge 1 commit intomainfrom
feat-preview-tmux-content
Draft

feat: add session preview panel#149
renato0307 wants to merge 1 commit intomainfrom
feat-preview-tmux-content

Conversation

@renato0307
Copy link
Copy Markdown
Owner

Summary

  • Adds a preview panel that displays tmux pane content for the selected session
  • Toggle with v key (configurable)
  • Supports vertical (stacked) and horizontal (side-by-side) layouts
  • Auto-updates every 400ms with auto-scroll to latest content

Configuration

New settings in settings.json:

  • preview_layout: "vertical" (default) or "horizontal"
  • preview_max_lines: maximum lines to capture (default 50)

Test plan

  • Toggle preview with v key
  • Verify vertical layout (default)
  • Test horizontal layout via settings
  • Confirm auto-scroll shows latest content
  • Test with different terminal sizes

Add a preview panel that displays tmux pane content for the selected session.
The panel can be toggled with 'v' and supports two layouts:
- vertical: preview below the session list (default)
- horizontal: preview on the right side

Configuration options:
- preview_layout: "vertical" or "horizontal"
- preview_max_lines: max lines to capture (default 50)

The preview auto-updates every 400ms and auto-scrolls to show the most
recent content.
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