aboutsummaryrefslogtreecommitdiffstats
path: root/screen.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 452490996..b23a1da0e 100644
--- a/screen.h
+++ b/screen.h
@@ -25,6 +25,9 @@
/* timeout for non blocking read [ms] */
#define SCREEN_TIMEOUT 250
+/* welcome message time [s] */
+#define SCREEN_WELCOME_TIME 10
+
#define IS_PLAYING(s) (s==MPD_STATUS_STATE_PLAY)
#define IS_PAUSED(s) (s==MPD_STATUS_STATE_PAUSE)
#define IS_STOPPED(s) (!(IS_PLAYING(s) | IS_PAUSED(s)))
@@ -58,6 +61,7 @@ typedef struct
time_t status_timestamp;
time_t input_timestamp;
+ command_t last_cmd;
list_window_t *playlist;
list_window_t *filelist;