textbox
[vg.git] / vg_console.h
index 8d47210aa593ae1df8308b3e4ec3bbeb2dfeaf79..dd9cc77cea02e4d21318feaa51641ecf95f11628 100644 (file)
@@ -929,10 +929,13 @@ VG_STATIC void console_proc_key( SDL_Keysym ev )
    if( ev.sym == SDLK_BACKQUOTE ){
       vg_console.enabled = !vg_console.enabled;
 
-      if( vg_console.enabled )
+      if( vg_console.enabled ){
+         vg_info( "SDL_StartTextInput()\n" );
          SDL_StartTextInput();
-      else
+      }
+      else{
          SDL_StopTextInput();
+      }
    }
    
    if( !vg_console.enabled ) return;