From 691ccef4078f82424e1c3dae2e7d1ba0ff6573ce Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 17 Mar 2014 12:46:09 -0500 Subject: Fix ctrl-c etc codes for edit fields --- src/sdl/sdl_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index c6f52ac9..19fbcaae 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -780,6 +780,8 @@ static void IN_ProcessEvents( void ) if( key == K_BACKSPACE ) Com_QueueEvent( 0, SE_CHAR, CTRL('h'), 0, 0, NULL ); + else if( keys[K_CTRL].down && key >= 'a' && key <= 'z' ) + Com_QueueEvent( 0, SE_CHAR, CTRL(key), 0, 0, NULL ); lastKeyDown = key; break; -- cgit