ui/ncurses: Add sysinfo screen
[petitboot] / ui / ncurses / nc-scr.h
index 775e8de4e25799ecd0c6d8f8a556617611e217e9..e3ed20a8502d8de3cad30f0fe6d1a3e475a62fb8 100644 (file)
 
 
 enum pb_nc_sig {
-       pb_cui_sig         = 111,
-       pb_pmenu_sig       = 222,
-       pb_item_sig        = 333,
-       pb_boot_editor_sig = 444,
-       pb_removed_sig     = -555,
+       pb_cui_sig              = 111,
+       pb_pmenu_sig            = 222,
+       pb_item_sig             = 333,
+       pb_boot_editor_sig      = 444,
+       pb_sysinfo_screen_sig   = 555,
+       pb_removed_sig          = -666,
 };
 
 static inline void nc_flush_keys(void)
@@ -64,6 +65,7 @@ enum nc_scr_pos {
        nc_scr_pos_status = 1,
 
        nc_scr_frame_lines = 5,
+       nc_scr_frame_cols = 1,
 };
 
 struct nc_frame {