fix: #58
parent
221b52da75
commit
0b0a54085c
|
@ -40,7 +40,8 @@ type Action struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Cmd string `json:"cmd"`
|
Cmd string `json:"cmd"`
|
||||||
Dir string `json:"dir"`
|
Dir string `json:"dir"`
|
||||||
Env []string `json"env,omitempty"`
|
Envs []string `json"env,omitempty"`
|
||||||
|
Args []string `json"arg,omitempty"`
|
||||||
run chan struct{} `json:"-"`
|
run chan struct{} `json:"-"`
|
||||||
pid int `json:"-"`
|
pid int `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,7 +123,7 @@ function setResult(){
|
||||||
result_editor.session.setMode("ace/mode/sh");
|
result_editor.session.setMode("ace/mode/sh");
|
||||||
result_editor.setReadOnly(true);
|
result_editor.setReadOnly(true);
|
||||||
result_editor.setOptions({
|
result_editor.setOptions({
|
||||||
maxLines: 1000
|
maxLines: Infinity
|
||||||
});
|
});
|
||||||
{{if not .ResultBellow}}
|
{{if not .ResultBellow}}
|
||||||
document.addEventListener('keydown', function (e) {
|
document.addEventListener('keydown', function (e) {
|
||||||
|
|
Loading…
Reference in New Issue