summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-scr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/nc-scr.h')
-rw-r--r--ui/ncurses/nc-scr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ncurses/nc-scr.h b/ui/ncurses/nc-scr.h
index 0658dd0..f18753a 100644
--- a/ui/ncurses/nc-scr.h
+++ b/ui/ncurses/nc-scr.h
@@ -75,13 +75,13 @@ struct nc_scr {
void *ui_ctx;
int (*post)(struct nc_scr *scr);
int (*unpost)(struct nc_scr *scr);
- void (*process_key)(struct nc_scr *scr);
+ void (*process_key)(struct nc_scr *scr, int key);
void (*resize)(struct nc_scr *scr);
};
int nc_scr_init(struct nc_scr *scr, enum pb_nc_sig sig, int begin_x,
void *ui_ctx,
- void (*process_key)(struct nc_scr *),
+ void (*process_key)(struct nc_scr *, int),
int (*post)(struct nc_scr *),
int (*unpost)(struct nc_scr *),
void (*resize)(struct nc_scr *));
OpenPOWER on IntegriCloud