diff --git a/input-keys.c b/input-keys.c index 208eb360..a41414db 100644 --- a/input-keys.c +++ b/input-keys.c @@ -316,7 +316,7 @@ static struct input_key_entry input_key_defaults[] = { .data = "\033[9;5u" }, { .key = '\011'|KEYC_CTRL|KEYC_SHIFT, - .data = "\011" + .data = "\033[Z" }, { .key = '\011'|KEYC_CTRL|KEYC_SHIFT|KEYC_EXTENDED, .data = "\033[1;5Z" diff --git a/tmux.1 b/tmux.1 index 3e12b0a5..ef559af5 100644 --- a/tmux.1 +++ b/tmux.1 @@ -23,7 +23,7 @@ .Sh SYNOPSIS .Nm tmux .Bk -words -.Op Fl 2CDluvV +.Op Fl 2CDlNuVv .Op Fl c Ar shell-command .Op Fl f Ar file .Op Fl L Ar socket-name @@ -206,6 +206,12 @@ If is specified, the default socket directory is not used and any .Fl L flag is ignored. +.It Fl T Ar features +Set terminal features for the client. +This is a comma-separated list of features. +See the +.Ic terminal-features +option. .It Fl u Write UTF-8 output to the terminal even if the first environment variable of @@ -217,12 +223,10 @@ that is set does not contain .Qq UTF-8 or .Qq UTF8 . -.It Fl T Ar features -Set terminal features for the client. -This is a comma-separated list of features. -See the -.Ic terminal-features -option. +.It Fl V +Report the +.Nm +version. .It Fl v Request verbose logging. Log messages will be saved into @@ -247,10 +251,6 @@ signal may be sent to the server process to toggle logging between on (as if .Fl v was given) and off. -.It Fl V -Report the -.Nm -version. .It Ar command Op Ar flags This specifies one of a set of commands used to control .Nm , diff --git a/tmux.c b/tmux.c index b9f2be30..ef78e7b4 100644 --- a/tmux.c +++ b/tmux.c @@ -53,7 +53,7 @@ static __dead void usage(void) { fprintf(stderr, - "usage: %s [-2CDlNuvV] [-c shell-command] [-f file] [-L socket-name]\n" + "usage: %s [-2CDlNuVv] [-c shell-command] [-f file] [-L socket-name]\n" " [-S socket-path] [-T features] [command [flags]]\n", getprogname()); exit(1);