default to cols 79, rows 24 - sob - simple output bar
HTML git clone git://git.codemadness.org/sob
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7eae1acf0a7d4644114e30f6f3bfc2143954518c
DIR parent d93375e2c9949610df34b5220fdef0ce7dffd10a
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Oct 2014 11:12:16 +0000
default to cols 79, rows 24
Diffstat:
M sob.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/sob.c b/sob.c
@@ -90,7 +90,8 @@ static struct termios ttystate, ttysave;
static struct line line;
static size_t dirtylen; /* dirty length (in columns) */
-static int cols, rows;
+static int cols = 79, rows = 24;
+static int termattrset = 0;
static int isrunning = 1;
static FILE * outfp = NULL;
static FILE * lineoutfp = NULL;