diff --git a/output/outputs.go b/output/outputs.go index 53cf56a..28ce33c 100644 --- a/output/outputs.go +++ b/output/outputs.go @@ -137,6 +137,8 @@ func RunHandler(w http.ResponseWriter, r *http.Request) { for { buf, err := outReader.ReadString('\n') + // TODO: fix the duplicated error + if nil != err { // remove the exited process from user process set processes.remove(wSession, cmd.Process) diff --git a/static/user/admin/style.css b/static/user/admin/style.css new file mode 100644 index 0000000..2f2f376 --- /dev/null +++ b/static/user/admin/style.css @@ -0,0 +1,12 @@ +body { + font-family: Helvetica, 'Microsoft Yahei'; +} + +input, +button { + font-family: Helvetica, 'Microsoft Yahei'; +} + +.edit-exprinfo, .CodeMirror, .CodeMirror-hints { + font-size: 9; +} \ No newline at end of file