diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-19 15:19:13 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-21 17:56:39 +0200 |
commit | 1355bad2644230b9760e62333dc4a7b72c5fb1a9 (patch) | |
tree | b60aa2d7bada81b42977e38d5415cf081b0f1ad0 /src/vars.c | |
parent | e5dee68dcf318b58a3339250ae63fa5f26cdf790 (diff) | |
download | calcurse-1355bad2644230b9760e62333dc4a7b72c5fb1a9.zip |
Declare foreground and background variables global
Removes the need to pass the terminal's default background color round.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/vars.c')
-rw-r--r-- | src/vars.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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). |