# error "Curses header file not found."
#endif
-#ifdef DEBUG
-#define DBG(fmt, args...) pb_log("DBG: " fmt, ## args)
+#define DBG(fmt, args...) pb_debug("DBG: " fmt, ## args)
#define DBGS(fmt, args...) \
- pb_log("DBG:%s:%d: " fmt, __func__, __LINE__, ## args)
-#else
-#define DBG(fmt, args...)
-#define DBGS(fmt, args...)
-#endif
+ pb_debug("DBG:%s:%d: " fmt, __func__, __LINE__, ## args)
enum pb_nc_sig {
enum nc_scr_pos {
nc_scr_pos_title = 0,
nc_scr_pos_title_sep = 1,
+ nc_scr_pos_lrtitle_space = 2,
nc_scr_pos_sub = 2,
nc_scr_pos_help_sep = 3,
};
struct nc_frame {
- char *title;
+ char *ltitle;
+ char *rtitle;
char *help;
char *status;
};