CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/05/01 03:44:42
Modified files:
usr.bin/tmux : cmd-copy-mode.c options-table.c screen.c tmux.1
tmux.h window-copy.c
Log message:
Add support for line numbers in copy mode. A new copy-mode-line-numbers
option has the following modes: off, default (tmux's normal line
numbering where 0 is the top visible line), absolute (first line in
history is 1), relative (relative to the cursor) and hybrid (current
line is absolute, others relative). Also adds
copy-mode-line-number-style and copy-mode-current-line-number-style to
set the style of the line numbers. When copy mode is entered with the
mouse, line numbers stay off.
>From Leo Henon in GitHub issue 5025.