View | Details | Raw Unified | Return to bug 14406
Collapse All | Expand All

(-)getline/getline.c (-2 / +2 lines)
Lines 147-155 Link Here
147
      st = r.Event.KeyEvent.dwControlKeyState;
147
      st = r.Event.KeyEvent.dwControlKeyState;
148
      vk = r.Event.KeyEvent.wVirtualKeyCode;
148
      vk = r.Event.KeyEvent.wVirtualKeyCode;
149
      if (r.Event.KeyEvent.bKeyDown) {
149
      if (r.Event.KeyEvent.bKeyDown) {
150
	if (vk == VK_MENU && (st & LEFT_ALT_PRESSED)) { /* VK_MENU is
150
        AltIsDown = (st & LEFT_ALT_PRESSED);
151
	if (vk == VK_MENU && AltIsDown) { /* VK_MENU is
151
							   Alt or AltGr */
152
							   Alt or AltGr */
152
	  AltIsDown = 1;
153
	  nAlt = 0;
153
	  nAlt = 0;
154
	  bbb  = 0;
154
	  bbb  = 0;
155
	} 
155
	} 

Return to bug 14406