diff options
Diffstat (limited to 'source/prompt.h')
-rw-r--r-- | source/prompt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/prompt.h b/source/prompt.h index ce0e2d1..33d0426 100644 --- a/source/prompt.h +++ b/source/prompt.h @@ -34,6 +34,7 @@ typedef struct commandPrompt_s { inputField_t inputLine; char *history[HISTORY_SIZE]; + char *search; int widthInChars; qboolean tooMany; @@ -45,6 +46,7 @@ typedef struct commandPrompt_s { void Prompt_Init( void ); void Prompt_CompleteCommand( commandPrompt_t *prompt, qboolean backslash ); void Prompt_CompleteHistory( commandPrompt_t *prompt, qboolean forward ); +void Prompt_ClearState( commandPrompt_t *prompt ); char *Prompt_Action( commandPrompt_t *prompt ); void Prompt_HistoryUp( commandPrompt_t *prompt ); void Prompt_HistoryDown( commandPrompt_t *prompt ); |