From 1355bad2644230b9760e62333dc4a7b72c5fb1a9 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 19 Jul 2011 15:19:13 +0200 Subject: Declare foreground and background variables global Removes the need to pass the terminal's default background color round. Signed-off-by: Lukas Fleischer --- src/vars.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vars.c') diff --git a/src/vars.c b/src/vars.c index 4b1d7cd..ef2cd73 100644 --- a/src/vars.c +++ b/src/vars.c @@ -48,6 +48,9 @@ int resize = 0; /* variable to tell if the terminal supports color */ unsigned colorize = 0; +/* Default background and foreground colors. */ +int foreground, background; + /* * To tell if curses interface was launched already or not (in that case * calcurse is running in command-line mode). -- cgit v1.2.3-54-g00ecf