1 #ifndef EL__VIEWER_ACTION_H
2 #define EL__VIEWER_ACTION_H
4 #include "config/kbdbind.h"
5 #include "viewer/text/view.h"
9 enum frame_event_status
{
10 /* The event was not handled */
12 /* The event was handled, and the screen should be redrawn */
14 /* The event was handled, and the screen should _not_ be redrawn */
16 /* The event was handled, and the current session was destroyed */
17 FRAME_EVENT_SESSION_DESTROYED
,
20 enum frame_event_status
do_action(struct session
*ses
,
21 enum main_action action_id
, int verbose
);