aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2018-08-29 09:50:32 +0000
committernicm <nicm>2018-08-29 09:50:32 +0000
commitf57aa143c162679555c4713ca94b7f2c60aa6bf4 (patch)
tree791be3db6c5228ed7cb04899cf89aa92bf521a42 /tmux.h
parente53094bc5f302d697661e06cea1eeade27449f23 (diff)
downloadrtmux-f57aa143c162679555c4713ca94b7f2c60aa6bf4.tar.gz
rtmux-f57aa143c162679555c4713ca94b7f2c60aa6bf4.tar.bz2
rtmux-f57aa143c162679555c4713ca94b7f2c60aa6bf4.zip
Keep any text killed in the command prompt with C-w and yank it with
C-y, only use the top buffer if no text has previously been killed. This and previous change promped by discussion with kn@.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 7a1cc502..e95febf8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1358,6 +1358,7 @@ struct client {
void *prompt_data;
u_int prompt_hindex;
enum { PROMPT_ENTRY, PROMPT_COMMAND } prompt_mode;
+ struct utf8_data *prompt_saved;
#define PROMPT_SINGLE 0x1
#define PROMPT_NUMERIC 0x2