aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-11 23:16:45 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-11 23:16:45 +0000
commit959eeef5052c44bddee7bc46da55e4129345b1cb (patch)
tree60e0287addb2270a664751408b9e7d74dc151167 /tmux.h
parent4ddac7f0b38aa8ccdd8d704bc7c9329d4e70c55a (diff)
downloadrtmux-959eeef5052c44bddee7bc46da55e4129345b1cb.tar.gz
rtmux-959eeef5052c44bddee7bc46da55e4129345b1cb.tar.bz2
rtmux-959eeef5052c44bddee7bc46da55e4129345b1cb.zip
FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the cursor can never be beyond $COLUMNS - 1) and does not appear to support changing this behaviour, or any of the obvious possibilities (turning off right margin wrapping, insert mode). This is irritating, most notably because it impossible to write to the very bottom-right of the screen without scrolling. To work around this, if built on FreeBSD and run with a "cons" $TERM, the bottom-right cell on the screen is omitted.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 1fe8986d..769d99c8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.269 2009-02-11 18:44:05 nicm Exp $ */
+/* $Id: tmux.h,v 1.270 2009-02-11 23:16:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -702,6 +702,7 @@ struct tty_term {
#define TERM_HASDEFAULTS 0x1
#define TERM_256COLOURS 0x2
+#define TERM_EARLYWRAP 0x4
int flags;
SLIST_ENTRY(tty_term) entry;