* Handle dead keys more gracefully by taking a "best guess" rather than ignoring

completely
* When activating or deactivating the mouse flush any pending motion events;
  this should stop the view moving unpredictably in these circumstances
* Add keyname completion to "unbind"
This commit is contained in:
Tim Angus 2008-08-25 21:15:25 +00:00
parent a6382d2d9b
commit 36a43f2aa1
2 changed files with 54 additions and 15 deletions

View file

@ -3333,6 +3333,14 @@ static void Field_CompleteCommand( char *cmd,
Field_CompleteCommand( p, qtrue, qtrue );
}
}
else if( !Q_stricmp( baseCmd, "unbind" ) && completionArgument == 2 )
{
// Skip "unbind "
p = Com_SkipTokens( cmd, 1, " " );
if( p > cmd )
Field_CompleteKeyname( );
}
#endif
}
}