[PATCH 4/5] optionalize to use term status feature

From: Strake <strake888_AT_gmail.com>
Date: Fri, 7 Mar 2014 12:11:47 -0500

---
 config.def.h | 1 +
 sandy.c      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h
index 98ccf3e..0ddb85a 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -1,4 +1,5 @@
 /* A simplified way to customize */
+#define USE_TERM_STATUS 1
 #define HILIGHT_CURRENT 1
 #define HILIGHT_SYNTAX  1
 #define SHOW_NONPRINT   0
diff --git a/sandy.c b/sandy.c
index 05851a5..71c014b 100644
--- a/sandy.c
+++ b/sandy.c
_AT_@ -1275,7 +1275,7 @@ i_termwininit(void) {
 	noecho();
 	nl();
 	if(textwin) delwin(textwin);
-	if(tigetflag("hs") > 0) {
+	if(USE_TERM_STATUS && tigetflag("hs") > 0) {
 		tsl_str=tigetstr("tsl");
 		fsl_str=tigetstr("fsl");
 		textwin=newwin(lines,cols,0,0);
-- 
2.0.0
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 30 2014 - 07:00:04 CEST