summaryrefslogtreecommitdiffstats
path: root/src/tui.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-03-01 13:47:34 +0100
committerLouis Burda <quent.burda@gmail.com>2022-03-01 13:47:34 +0100
commit28faa6d200deee6b39d08e539ab0051ed421e283 (patch)
tree5f9ec7ef5aea5011a13ffc19f118ec297f86e2d9 /src/tui.h
parent97a39667e0802ddd9ee0f5ee165c614299bc8fd1 (diff)
downloadtmus-28faa6d200deee6b39d08e539ab0051ed421e283.tar.gz
tmus-28faa6d200deee6b39d08e539ab0051ed421e283.zip
Add display timer to cmd status
Diffstat (limited to 'src/tui.h')
-rw-r--r--src/tui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tui.h b/src/tui.h
index 1b735aa..71572ed 100644
--- a/src/tui.h
+++ b/src/tui.h
@@ -8,6 +8,7 @@
#define CMD_SET_STATUS(...) do { \
free(cmd_status); \
+ cmd_status_uptime = 10; \
cmd_status = aprintf(__VA_ARGS__); \
} while (0)
@@ -27,4 +28,5 @@ extern struct listnav tag_nav;
extern struct listnav track_nav;
extern char *cmd_status;
+extern int cmd_status_uptime;