[PATCH 5/5] possibilize title bar at bottom

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

---
 config.def.h | 1 +
 sandy.c      | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.h
index 0ddb85a..c873ac4 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -1,5 +1,6 @@
 /* A simplified way to customize */
 #define USE_TERM_STATUS 1
+#define BOTTOM_TITLE    0
 #define HILIGHT_CURRENT 1
 #define HILIGHT_SYNTAX  1
 #define SHOW_NONPRINT   0
diff --git a/sandy.c b/sandy.c
index 71c014b..3313178 100644
--- a/sandy.c
+++ b/sandy.c
_AT_@ -1281,9 +1281,9 @@ i_termwininit(void) {
 		textwin=newwin(lines,cols,0,0);
 	} else {
 		if(titlewin) delwin(titlewin);
-		titlewin=newwin(1,cols,0,0);
+		titlewin=newwin(1,cols,BOTTOM_TITLE?lines-1:0,0);
 		wattron(titlewin,A_REVERSE);
-		textwin=newwin(lines-1,cols,1,0);
+		textwin=newwin(lines-1,cols,BOTTOM_TITLE?0:1,0);
 	}
 	idlok(textwin, TRUE);
 	keypad(textwin, TRUE);
-- 
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 - 08:36:03 CEST