wiki

Mouse and Selection

Mouse handling is on by default (mouse = true in config.toml).

📸 Screenshot coming here: A drag selection highlighted inside a pane. 🎬 Video coming here: Click to focus, drag to select, wheel to scroll.

Clicking

Where you click What happens
Inside a pane Focus that pane (and its column). The click is swallowed unless the app asked for mouse reporting.
Apps with mouse mode (vim, htop, ranger…) They get every mouse event, remapped to their own coordinates. Hold shift while clicking to force T-Strip’s own selection/focusing instead.
On the status bar Workspace tabs are clickable — click one to switch workspace.
On a border Focuses only; no drag begins.
In the overview Focuses the clicked pane, zooms back in, and centers it. The release right after is swallowed so the app does not receive a phantom click.

Drag selection

Dragging inside one pane selects text there. The selection stays inside that pane — never borders, never neighbours.

  1. Press and drag — a character-wise selection highlights as you move.
  2. Drag past the top or bottom edge — the pane auto-scrolls its history while you drag.
  3. Release — the text is copied immediately (see Copy and Paste). A press-and-release without moving cancels.

Selection coordinates are logical: history rows first, then the live screen, so a selection keeps meaning across new app output.

📸 Screenshot coming here: Dragging a selection past the bottom edge, auto-scrolling. 🎬 Video coming here: Drag-selecting text inside a pane and copying it on release.

Wheel

Mode Wheel effect
Pane on the primary screen Scroll its history (3 lines per tick)
App in mouse mode Forwarded as raw scroll events
Full-screen app without mouse mode Arrow keys (less / vim-style pagers behave like scrolling)
Overview Vertical wheel changes workspaces; horizontal wheel changes column focus
Help overlay Scrolls the help text

What gets forwarded when

T-Strip decides per event:

  1. A drag in progress owns its motion and release.
  2. Wheel is dispatched by pane mode (see the table above).
  3. Motion with a button is forwarded only to apps in a motion mouse mode; otherwise ignored.
  4. Releases and other buttons go to the focused app if it requested mouse reporting.

Mouse events reach T-Strip only when your client terminal is in mouse mode (requested by mouse = true).

🎬 Video coming here: Wheel scrolling in a pane, then in less, then in the overview.