mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Replace one comment with TODO and add @hidden annotation for clInputValueChanged()
This commit is contained in:
parent
fbc16a57f3
commit
270aafb5f5
2 changed files with 3 additions and 2 deletions
|
@ -80,9 +80,9 @@ const commandline_state = {
|
|||
*/
|
||||
isVisible: false,
|
||||
keyEvents: new Array<MinimalKey>(),
|
||||
initialClInputValue: "",
|
||||
refresh_completions,
|
||||
state,
|
||||
initialClInputValue: "",
|
||||
}
|
||||
|
||||
// first theming of commandline iframe
|
||||
|
@ -294,6 +294,7 @@ commandline_state.clInput.addEventListener("input", () => {
|
|||
clInputValueChanged();
|
||||
})
|
||||
|
||||
/** @hidden **/
|
||||
function clInputValueChanged() {
|
||||
const exstr = commandline_state.clInput.value
|
||||
contentState.current_cmdline = exstr
|
||||
|
|
|
@ -203,7 +203,7 @@ function* ParserController() {
|
|||
|
||||
if (response.exstr) {
|
||||
exstr = response.exstr
|
||||
if (exstr.startsWith("fillcmdline ")) { // Ugh. That's ugly. I needed a way to know if this command is going to open the cmdline.
|
||||
if (exstr.startsWith("fillcmdline ")) { // TODO That's ugly. I need a way to know if this command is going to open the command line. Is there a better way?
|
||||
logger.debug("Starting buffering of page keys")
|
||||
mustBufferPageKeysForClInput = true
|
||||
bufferedPageKeys = []
|
||||
|
|
Loading…
Add table
Reference in a new issue