]> Pileus Git - lackey/blobdiff - src/screen.c
Add day and week view
[lackey] / src / screen.c
index 1fdedc8680402e89910f88bab08f1a32e2e6185a..f9bfd4f01a1ab48917fde756c442b55cf9e0b566 100644 (file)
@@ -2,6 +2,7 @@
 #include <ncurses.h>
 #include "main.h"
 #include "screen.h"
+#include "util.h"
 
 /* Types */
 typedef struct {
@@ -27,7 +28,7 @@ view_t views[] = {
        { "Help",     help_init,     help_draw,     help_run,     {KEY_F(8), '8', 'h', '?'} },
 };
 
-int active = 3;
+int active = 0;
 
 /* Local functions */
 void draw_header(void)