diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-23 21:09:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-23 21:09:17 +0000 |
commit | 5fbdca890ab7dec63d96128d5b5ecd145b6e15f4 (patch) | |
tree | a76d8980171d8e878a291ea5d2ea91a89f8fe2a1 /tmux.h | |
parent | a91ecf44fab01abd4965cbc539d971ec1e9c8841 (diff) | |
download | rtmux-5fbdca890ab7dec63d96128d5b5ecd145b6e15f4.tar.gz rtmux-5fbdca890ab7dec63d96128d5b5ecd145b6e15f4.tar.bz2 rtmux-5fbdca890ab7dec63d96128d5b5ecd145b6e15f4.zip |
Use the xenl terminfo flag to detect early-wrap terminals like the FreeBSD
console. Many thanks for a very informative email from Christian Weisgerber.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.299 2009-04-03 17:21:46 nicm Exp $ */ +/* $Id: tmux.h,v 1.300 2009-04-23 21:09:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -317,8 +317,9 @@ enum tty_code_code { TTYC_SMKX, /* keypad_xmit, ks */ TTYC_SMSO, /* enter_standout_mode, so */ TTYC_SMUL, /* enter_underline_mode, us */ + TTYC_XENL, /* eat_newline_glitch, xn */ }; -#define NTTYCODE (TTYC_SMUL + 1) +#define NTTYCODE (TTYC_XENL + 1) /* Termcap types. */ enum tty_code_type { |