Repository navigation
T-Strip v0.6.7
This release fixes several concurrency issues, scrollback and copy-mode drift, soft-wrap handling, keybinding priority, and input ordering.
Fixed
- Server startup race: The server now acquires an exclusive
flockon<name>.lockbefore accessing the socket. If another server is already running for the same session, the new process exits with analready runningmessage.EnsureServerno longer removes the socket; the server handles stale sockets itself while holding the lock. - Pane dead-state race:
Pane.Deadis now an atomic flag exposed throughIsDead().Closeuses an atomic swap to ensure it runs only once. - Scrollback drift: The terminal emulator now tracks how many history lines it discards. Before each frame and key batch, the multiplexer adjusts the anchored scroll position, copy-mode cursor, and selection to account for discarded lines. This fixes drift when scrollback reaches its limit or is cleared.
- Soft-wrap copying: The emulator's existing soft-wrap marker is now exported. Character-wise selections join soft-wrapped rows without inserting a newline, while preserving spaces at the wrap point. History rows also retain trailing blanks on wrapped lines.
- Keybinding priority: Built-in bindings are applied first, followed by user bindings, with both processed in sorted order. User bindings now reliably override defaults for the same key—for example,
alt+hcan override the defaultleader+h. Conflicting user bindings that resolve to the same key now produce a configuration warning. - Escape input ordering: The input assembler now uses a second lock to deliver keys before releasing the first lock. This prevents the idle-timer flush from overtaking later input.