diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-08-29 09:50:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-08-29 09:50:33 +0000 |
commit | e210cde9dbe8c566767aa48948cbeb623284a2dd (patch) | |
tree | a8ac93c47ee18841c4ff43901fd15c920fb1dc31 /usr.bin/tmux/tmux.h | |
parent | fdb53d4311fb187bc514e33a669683275ad95df7 (diff) |
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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 4f2dc35acea..02ed0f287f2 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.844 2018/08/23 15:45:05 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.845 2018/08/29 09:50:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 |