=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.759 retrieving revision 1.760 diff -c -r1.759 -r1.760 *** src/usr.bin/tmux/tmux.h 2017/05/07 21:25:59 1.759 --- src/usr.bin/tmux/tmux.h 2017/05/07 22:27:57 1.760 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.759 2017/05/07 21:25:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.760 2017/05/07 22:27:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 689,703 **** * right function to handle input and output. */ struct window_mode { ! struct screen *(*init)(struct window_pane *); ! void (*free)(struct window_pane *); ! void (*resize)(struct window_pane *, u_int, u_int); ! void (*key)(struct window_pane *, struct client *, struct session *, ! key_code, struct mouse_event *); ! const char *(*key_table)(struct window_pane *); ! void (*command)(struct window_pane *, struct client *, ! struct session *, struct args *, struct mouse_event *); }; #define WINDOW_MODE_TIMEOUT 180 --- 689,706 ---- * right function to handle input and output. */ struct window_mode { ! const char *name; ! struct screen *(*init)(struct window_pane *); ! void (*free)(struct window_pane *); ! void (*resize)(struct window_pane *, u_int, u_int); ! void (*key)(struct window_pane *, struct client *, ! struct session *, key_code, struct mouse_event *); ! ! const char *(*key_table)(struct window_pane *); ! void (*command)(struct window_pane *, struct client *, ! struct session *, struct args *, ! struct mouse_event *); }; #define WINDOW_MODE_TIMEOUT 180