=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.326 retrieving revision 1.327 diff -c -r1.326 -r1.327 *** src/usr.bin/tmux/tmux.h 2012/04/01 13:18:38 1.326 --- src/usr.bin/tmux/tmux.h 2012/04/01 21:45:48 1.327 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.326 2012/04/01 13:18:38 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.327 2012/04/01 21:45:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1102,1115 **** }; /* ! * xterm mouse mode is fairly silly. Buttons are in the bottom two ! * bits: 0 button 1; 1 button 2; 2 button 3; 3 buttons released. ! * ! * Bit 3 is shift; bit 4 is meta; bit 5 control. ! * ! * Bit 6 is added for mouse buttons 4 and 5. */ - /* Mouse input. */ struct mouse_event { u_int b; #define MOUSE_1 0 --- 1102,1112 ---- }; /* ! * Mouse input. xterm mouse mode is fairly silly. Buttons are in the bottom two ! * bits: 0 = button 1; 1 = button 2; 2 = button 3; 3 = buttons released. Bits ! * 3, 4 and 5 are for keys. Bit 6 is set for dragging and 7 for mouse buttons 4 ! * and 5. */ struct mouse_event { u_int b; #define MOUSE_1 0 *************** *** 1117,1122 **** --- 1114,1122 ---- #define MOUSE_3 2 #define MOUSE_UP 3 #define MOUSE_BUTTON 3 + #define MOUSE_SHIFT 4 + #define MOUSE_ESCAPE 8 + #define MOUSE_CTRL 16 #define MOUSE_DRAG 32 #define MOUSE_45 64 #define MOUSE_RESIZE_PANE 128 /* marker for resizing */