Browse Source

terminal: allow shift to bypass mouse modes to enable selection in Bim

K. Lange 2 years ago
parent
commit
0293680a87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/terminal.c

+ 1 - 1
apps/terminal.c

@@ -2136,7 +2136,7 @@ static void * handle_incoming(void) {
 					if (new_x >= term_width || new_y >= term_height) break;
 
 					/* Map Cursor Action */
-					if (ansi_state->mouse_on) {
+					if (ansi_state->mouse_on && !(me->modifiers & YUTANI_KEY_MODIFIER_SHIFT)) {
 
 						if (me->buttons & YUTANI_MOUSE_SCROLL_UP) {
 							mouse_event(32+32, new_x, new_y);