aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-14 15:54:26 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-14 15:54:26 +0100
commitb79da95d4b97125de10e3dc66a88bc475e23b4d3 (patch)
tree77064db720d7e33e3666a4bcfce177ce24d6a982 /ui.h
parentb701de666e1c2b89bcff67bb309c5f8997ce5c8c (diff)
downloadvis-b79da95d4b97125de10e3dc66a88bc475e23b4d3.tar.gz
vis-b79da95d4b97125de10e3dc66a88bc475e23b4d3.tar.xz
vis-lua: add vis.ui.colors denoting the number of available colors
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index f371def..26d9050 100644
--- a/ui.h
+++ b/ui.h
@@ -70,6 +70,7 @@ struct Ui {
void (*terminal_save)(Ui*);
void (*terminal_restore)(Ui*);
TermKey* (*termkey_get)(Ui*);
+ int (*colors)(Ui*);
};
struct UiWin {