=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.1105 retrieving revision 1.1106 diff -c -r1.1105 -r1.1106 *** src/usr.bin/tmux/tmux.h 2021/06/10 07:33:41 1.1105 --- src/usr.bin/tmux/tmux.h 2021/06/10 07:36:47 1.1106 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.1105 2021/06/10 07:33:41 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.1106 2021/06/10 07:36:47 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 794,799 **** --- 794,807 ---- enum style_default_type default_type; }; + /* Cursor style. */ + enum screen_cursor_style { + SCREEN_CURSOR_DEFAULT, + SCREEN_CURSOR_BLOCK, + SCREEN_CURSOR_UNDERLINE, + SCREEN_CURSOR_BAR + }; + /* Virtual screen. */ struct screen_sel; struct screen_titles; *************** *** 807,814 **** u_int cx; /* cursor x */ u_int cy; /* cursor y */ ! u_int cstyle; /* cursor style */ ! char *ccolour; /* cursor colour string */ u_int rupper; /* scroll region top */ u_int rlower; /* scroll region bottom */ --- 815,822 ---- u_int cx; /* cursor x */ u_int cy; /* cursor y */ ! enum screen_cursor_style cstyle; /* cursor style */ ! char *ccolour; /* cursor colour */ u_int rupper; /* scroll region top */ u_int rlower; /* scroll region bottom */ *************** *** 1296,1302 **** u_int cx; u_int cy; ! u_int cstyle; char *ccolour; int oflag; --- 1304,1310 ---- u_int cx; u_int cy; ! enum screen_cursor_style cstyle; char *ccolour; int oflag;