Commit 5c9b33ee authored by Geoff Simmons's avatar Geoff Simmons

govarnishstat JS key bindings to change verbosity levels.

parent 34e2c365
......@@ -330,6 +330,27 @@ function keyUp(evt) {
toggleShow0()
}
return
case 86: /* v */
if (!evt.shiftKey)
switch (verbosity) {
case "INFO":
verbose_select.selectedIndex = 1
break
case "DIAG":
verbose_select.selectedIndex = 2
break
}
else
switch (verbosity) {
case "DIAG":
verbose_select.selectedIndex = 0
break
case "DEBUG":
verbose_select.selectedIndex = 1
break
}
setVerbosity()
return
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment