From 5fbdca890ab7dec63d96128d5b5ecd145b6e15f4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 23 Apr 2009 21:09:17 +0000 Subject: Use the xenl terminfo flag to detect early-wrap terminals like the FreeBSD console. Many thanks for a very informative email from Christian Weisgerber. --- tmux.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 3440718a..a756ebb4 100644 --- a/tmux.h +++ b/tmux.h @@ -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 @@ -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 { -- cgit