Add copy-mode -c to initialize the preferred cursor column

This commit is contained in:
Michael Grant
2026-10-05 12:29:17 +01:00
parent 8f25579c5a
commit a1825146ee
5 changed files with 206 additions and 3 deletions

View File

@@ -30,8 +30,8 @@ const struct cmd_entry cmd_copy_mode_entry = {
.name = "copy-mode",
.alias = NULL,
.args = { "dekHMqSs:t:u", 0, 0, NULL },
.usage = "[-dekHMqSu] [-s src-pane] " CMD_TARGET_PANE_USAGE,
.args = { "cdekHMqSs:t:u", 0, 0, NULL },
.usage = "[-cdekHMqSu] [-s src-pane] " CMD_TARGET_PANE_USAGE,
.source = { 's', CMD_FIND_PANE, 0 },
.target = { 't', CMD_FIND_PANE, 0 },