master
Evan Chen 2021-11-17 17:41:21 +08:00
parent 221b52da75
commit 0b0a54085c
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,8 @@ type Action struct {
Name string `json:"name"`
Cmd string `json:"cmd"`
Dir string `json:"dir"`
Env []string `json"env,omitempty"`
Envs []string `json"env,omitempty"`
Args []string `json"arg,omitempty"`
run chan struct{} `json:"-"`
pid int `json:"-"`
}

View File

@ -123,7 +123,7 @@ function setResult(){
result_editor.session.setMode("ace/mode/sh");
result_editor.setReadOnly(true);
result_editor.setOptions({
maxLines: 1000
maxLines: Infinity
});
{{if not .ResultBellow}}
document.addEventListener('keydown', function (e) {