diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-06-18 09:52:47 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-06-18 09:52:47 +0100 |
commit | 3dfb77416ffd832061b1b6d40259595ea5e21778 (patch) | |
tree | c77e810ad68ad43cbc2abc67e008242fe42b911a | |
parent | 87521214d3b6f47979964b5d0523269dd2e127cd (diff) | |
parent | 1d4296f17fde47186e2d09752a912559af034e37 (diff) | |
download | rtmux-3dfb77416ffd832061b1b6d40259595ea5e21778.tar.gz rtmux-3dfb77416ffd832061b1b6d40259595ea5e21778.tar.bz2 rtmux-3dfb77416ffd832061b1b6d40259595ea5e21778.zip |
Merge branch 'obsd-master' into master
-rw-r--r-- | key-string.c | 2 | ||||
-rw-r--r-- | options-table.c | 7 | ||||
-rw-r--r-- | tmux.1 | 7 |
3 files changed, 11 insertions, 5 deletions
diff --git a/key-string.c b/key-string.c index 406d26dd..4f7be858 100644 --- a/key-string.c +++ b/key-string.c @@ -183,6 +183,8 @@ key_string_lookup_string(const char *string) if (string[0] == '0' && string[1] == 'x') { if (sscanf(string + 2, "%x", &u) != 1) return (KEYC_UNKNOWN); + if (u < 32) + return (u); mlen = wctomb(m, u); if (mlen <= 0 || mlen > MB_LEN_MAX) return (KEYC_UNKNOWN); diff --git a/options-table.c b/options-table.c index 101490e7..2555147a 100644 --- a/options-table.c +++ b/options-table.c @@ -367,7 +367,7 @@ const struct options_table_entry options_table[] = { .maximum = INT_MAX, .default_num = 1, .unit = "milliseconds", - .text = "Maximum time between input to assume it pasting rather " + .text = "Maximum time between input to assume it is pasting rather " "than typing." }, @@ -614,7 +614,7 @@ const struct options_table_entry options_table[] = { .text = "Formats for the status lines. " "Each array member is the format for one status line. " "The default status line is made up of several components " - "which may be configured individually with other option such " + "which may be configured individually with other options such " "as 'status-left'." }, @@ -951,7 +951,8 @@ const struct options_table_entry options_table[] = { .scope = OPTIONS_TABLE_WINDOW, .choices = options_table_pane_lines_list, .default_num = PANE_LINES_SINGLE, - .text = "Type of the pane type lines." + .text = "Type of characters used to draw pane border lines. Some of " + "these are only supported on terminals with UTF-8 support." }, { .name = "pane-border-status", @@ -2102,9 +2102,11 @@ The following keys may be used in tree mode: .It Li "q" Ta "Exit mode" .El .Pp -After a session, window or pane is chosen, +After a session, window or pane is chosen, the first instance of .Ql %% -is replaced by the target in +and all instances of +.Ql %1 +are replaced by the target in .Ar template and the result executed as a command. If @@ -4331,6 +4333,7 @@ see the .Sx STYLES section. .El +.El .Sh HOOKS .Nm allows commands to run on various triggers, called |