mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 12:25:47 +01:00
Move the completion list above the MOW in REPL mode.
This commit is contained in:
@@ -790,6 +790,7 @@ var JavaScript = Module("javascript", {
|
||||
|
||||
this.repl = REPL(this.context);
|
||||
},
|
||||
|
||||
open: function open(context) {
|
||||
|
||||
modules.mow.echo(this.repl);
|
||||
@@ -807,6 +808,8 @@ var JavaScript = Module("javascript", {
|
||||
|
||||
mode: modes.REPL,
|
||||
|
||||
get completionList() this.widgets.statusbar.commandline.id,
|
||||
|
||||
accept: function accept() {
|
||||
dactyl.trapErrors(function () { this.repl.addOutput(this.command) }, this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user