|
|
@ -540,8 +540,9 @@ void pfConsole::IHandleKey( plKeyEventMsg *msg ) |
|
|
|
static hsBool findAgain = false; |
|
|
|
static hsBool findAgain = false; |
|
|
|
static uint32_t findCounter = 0; |
|
|
|
static uint32_t findCounter = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// filter out keyUps and ascii control characters
|
|
|
|
if( !msg->GetKeyDown() ) |
|
|
|
// as the control functions are handled on the keyDown event
|
|
|
|
|
|
|
|
if( !msg->GetKeyDown() || (msg->GetKeyChar() > '\0' && msg->GetKeyChar() < ' ')) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
if( msg->GetKeyCode() == KEY_ESCAPE ) |
|
|
|
if( msg->GetKeyCode() == KEY_ESCAPE ) |
|
|
@ -1141,7 +1142,7 @@ void pfConsole::Draw( plPipeline *p ) |
|
|
|
strcpy( tmp, "]" ); |
|
|
|
strcpy( tmp, "]" ); |
|
|
|
|
|
|
|
|
|
|
|
drawText.DrawString( 10, y, tmp, 255, 255, 255, 255 ); |
|
|
|
drawText.DrawString( 10, y, tmp, 255, 255, 255, 255 ); |
|
|
|
i = 10 + drawText.CalcStringWidth( tmp ) + 4; |
|
|
|
i = 19 + drawText.CalcStringWidth( tmp ); |
|
|
|
drawText.DrawString( i, y, fWorkingLine, fConsoleTextColor ); |
|
|
|
drawText.DrawString( i, y, fWorkingLine, fConsoleTextColor ); |
|
|
|
|
|
|
|
|
|
|
|
if( fCursorTicks >= 0 ) |
|
|
|
if( fCursorTicks >= 0 ) |
|
|
|