aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-08 10:01:22 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-08 10:01:22 +0000
commita9a0039be4fafb1d6772a1c844a95eb744d922a0 (patch)
tree6dbf337ccd9c1d44837f0b28ecfacb6d50ef0682 /tmux.h
parent5aaf64062929a4b43ab58a8d3072d5e126e15424 (diff)
parentcb80901d333d91fa1fc56d3eb33b520d7fb28d9d (diff)
downloadrtmux-a9a0039be4fafb1d6772a1c844a95eb744d922a0.tar.gz
rtmux-a9a0039be4fafb1d6772a1c844a95eb744d922a0.tar.bz2
rtmux-a9a0039be4fafb1d6772a1c844a95eb744d922a0.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/tmux.h b/tmux.h
index b8972fd8..ea966acb 100644
--- a/tmux.h
+++ b/tmux.h
@@ -66,18 +66,8 @@ struct tmuxproc;
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */
#define NAME_INTERVAL 500000
-/*
- * Event watermarks. We start with FAST then if we hit full size for HITS reads
- * in succession switch to SLOW, and return when we hit EMPTY the same number
- * of times.
- */
-#define READ_FAST_SIZE 4096
-#define READ_SLOW_SIZE 128
-
-#define READ_FULL_SIZE (4096 - 16)
-#define READ_EMPTY_SIZE 16
-
-#define READ_CHANGE_HITS 3
+/* Maximum size of data to hold from a pane. */
+#define READ_SIZE 4096
/* Attribute to make GCC check printf-like arguments. */
#define printflike(a, b) __attribute__ ((format (printf, a, b)))
@@ -242,7 +232,7 @@ enum tty_code_code {
TTYC_DL1, /* delete_line, dl */
TTYC_E3,
TTYC_ECH, /* erase_chars, ec */
- TTYC_ED, /* csr_eos, cd */
+ TTYC_ED, /* clr_eos, cd */
TTYC_EL, /* clr_eol, ce */
TTYC_EL1, /* clr_bol, cb */
TTYC_ENACS, /* ena_acs, eA */
@@ -764,9 +754,6 @@ struct window_pane {
struct event resize_timer;
- u_int wmark_size;
- u_int wmark_hits;
-
struct input_ctx *ictx;
struct grid_cell colgc;
@@ -1120,9 +1107,6 @@ struct tty_ctx {
/* The background colour used for clearing (erasing). */
u_int bg;
-
- /* Saved last cell on line. */
- struct grid_cell last_cell;
};
/* Saved message entry. */