summaryrefslogtreecommitdiffstats
path: root/src/tui.h
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-14 00:13:15 -0300
committerAndrés <andmarti@gmail.com>2021-03-14 00:13:15 -0300
commitc4372c31ce07f6fce8b41486f6b8ba2956965a96 (patch)
tree40e0708d728110e540a7482168df02292b9ddec2 /src/tui.h
parent34705e4a01bb5c902f9d6bd8d6fc3e528d68e0a1 (diff)
Fixed SIGWINCH when input bar is at bottom
Added new HEADINGS_ODD, GRID_PAIR, and GRID_ODD types. Can be used like this: DEFINE_COLOR "cornsilk" 255 248 220 DEFINE_COLOR "wheat" 245 222 179 DEFINE_COLOR "dark_khaki" 189 183 107 DEFINE_COLOR "gray50" 127 127 127 DEFINE_COLOR "gray80" 204 204 204 DEFINE_COLOR "gray90" 229 229 229 color "type=GRID_PAIR fg=dark_khaki bg=cornsilk" color "type=GRID_ODD fg=dark_khaki bg=wheat" color "type=HEADINGS fg=dark_khaki bg=gray50" color "type=HEADINGS_ODD fg=gray50 bg=gray90"
Diffstat (limited to 'src/tui.h')
-rw-r--r--src/tui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui.h b/src/tui.h
index f135d03..bbdb2d1 100644
--- a/src/tui.h
+++ b/src/tui.h
@@ -88,7 +88,7 @@ char * ui_query(char * initial_msg);
void ui_start_colors();
void ui_sc_msg(char * s, int type, ...);
-void ui_set_ucolor(WINDOW * w, struct ucolor * uc);
+void ui_set_ucolor(WINDOW * w, struct ucolor * uc, int bg_override);
void ui_show_content(WINDOW * win, int mxrow, int mxcol);
void ui_show_sc_row_headings(WINDOW * win, int mxrow);
void ui_show_sc_col_headings(WINDOW * win, int mxcol);