Variables
HISTORY_SEARCH_STRING
HISTORY_SEARCH_STRING: string
clInput
clInput: HTMLInputElement = window.document.getElementById("tridactyl-input") as HTMLInputElement
cmdline_history_current
cmdline_history_current: string = ""
cmdline_history_position
cmdline_history_position: number = 0
completionsDiv
completionsDiv: HTMLElement = window.document.getElementById("completions") as HTMLElement
isVisible
isVisible: boolean = false
lastTheme
lastTheme: string
logger
logger
: Logger = new Logger('cmdline')
Create a temporary textarea and give it to fn. Remove the textarea afterwards
Useful for document.execCommand