console: add admin.clearHistory command (#15614)

This commit is contained in:
Sorin Neacsu
2017-12-08 06:14:14 -08:00
committed by Felix Lange
parent d95962cd5d
commit 586198ccea
3 changed files with 20 additions and 0 deletions

View File

@ -68,6 +68,7 @@ func (p *hookedPrompter) PromptConfirm(prompt string) (bool, error) {
}
func (p *hookedPrompter) SetHistory(history []string) {}
func (p *hookedPrompter) AppendHistory(command string) {}
func (p *hookedPrompter) ClearHistory() {}
func (p *hookedPrompter) SetWordCompleter(completer WordCompleter) {}
// tester is a console test environment for the console tests to operate on.