Skip to content

T-Strip v0.6.5

Choose a tag to compare

@dip-bash dip-bash released this 28 Nov 05:09
· 1 commit to main since this release

T-Strip v0.6.5

This release includes several bug fixes, memory improvements, and a new way to execute shell commands through keybindings.

Fixed

  • Session crash: Fixed a crash caused by tst open " " (a blank command), which could terminate the session daemon and kill all its panes. Blank commands now open a normal shell.
  • Animation: Invalid animation_speed values (zero or negative) now fall back to 18. Non-positive resize_step values fall back to 0.05.
  • Session list order: tst ls now lists sessions by creation time, with session name as a tie-breaker, instead of alphabetical order.
  • Maximize: Fixed stale saved column widths when un-maximizing. Manually resizing a column to 100% no longer causes a later maximize operation to restore an outdated width.
  • Memory leak: Fixed removeAt retaining references to removed panes in the backing array.
  • Version output: tst -v now prints a trailing newline.

Added

Shell commands in keybindings

Keybindings can now execute shell commands directly instead of being limited to built-in actions.

For example:

"leader+v" = "tst open 'tst vault' -w 25%"
"leader+t" = "exec tst open htop -w 33%"
  • Values that don't start with a known action name are treated as shell commands.
  • Added an explicit exec action to run commands through the shell.
  • Commands use the same execution path as clickable status-bar widgets.
  • The execution environment sets TST_SESSION and TST_PANE, allowing commands such as tst open to target the correct session.
  • exec bindings appear in the help overlay as Run a shell command.

Note: Misspelled action names are now interpreted as shell commands rather than reported as unknown actions. Failures appear in the status bar as command execution errors.

PATH note: Commands use the session server's environment. If tst is not available on that server's PATH, use its absolute path in the binding.