mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 08:07:03 +00:00
Only assume pasting with at least two characters, reduces problems for
people who can type ^B c very fast, or who are using tmux inside something else that buffers.
This commit is contained in:
7
tmux.h
7
tmux.h
@ -33,6 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <termios.h>
|
||||
|
||||
#include "xmalloc.h"
|
||||
|
||||
extern char *__progname;
|
||||
extern char **environ;
|
||||
|
||||
@ -45,8 +47,6 @@ struct session;
|
||||
struct tmuxpeer;
|
||||
struct tmuxproc;
|
||||
|
||||
#include "xmalloc.h"
|
||||
|
||||
/* Default global configuration file. */
|
||||
#define TMUX_CONF "/etc/tmux.conf"
|
||||
|
||||
@ -1014,6 +1014,7 @@ struct session {
|
||||
struct options *options;
|
||||
|
||||
#define SESSION_UNATTACHED 0x1 /* not attached to any clients */
|
||||
#define SESSION_PASTING 0x2
|
||||
int flags;
|
||||
|
||||
u_int attached;
|
||||
@ -1147,7 +1148,7 @@ struct tty {
|
||||
struct tty_key *key_tree;
|
||||
};
|
||||
|
||||
/* TTY command context and function pointer. */
|
||||
/* TTY command context. */
|
||||
struct tty_ctx {
|
||||
struct window_pane *wp;
|
||||
|
||||
|
Reference in New Issue
Block a user