Handle OSC 9;4 progress bar sequence and store in format variables, from

Eric Dorland in GitHub issue 4954.
This commit is contained in:
nicm
2026-04-03 09:14:27 +00:00
parent 7497db6e37
commit bdd78ce38e
4 changed files with 112 additions and 1 deletions

2
tmux.1
View File

@@ -6380,6 +6380,8 @@ The following variables are available, where appropriate:
.It Li "pane_pid" Ta "" Ta "PID of first process in pane"
.It Li "pane_pipe" Ta "" Ta "1 if pane is being piped"
.It Li "pane_pipe_pid" Ta "" Ta "PID of pipe process, if any"
.It Li "pane_pb_state" Ta "" Ta "Pane progress bar state, one of hidden, normal, error, indeterminate, paused (can be set by application)"
.It Li "pane_pb_progress" Ta "" Ta "Pane progress bar progress percentage (can be set by application)"
.It Li "pane_right" Ta "" Ta "Right of pane"
.It Li "pane_search_string" Ta "" Ta "Last search string in copy mode"
.It Li "pane_start_command" Ta "" Ta "Command pane started with"