aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jssh.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jssh.js b/src/jssh.js
index b180cd8..f85379b 100644
--- a/src/jssh.js
+++ b/src/jssh.js
@@ -363,7 +363,7 @@ class jssh {
return e !== "";
});
- this.write_file(this.fs, pp, history_write, redir_app);
+ this.write_file(this.fs, pp, history_write.trim(), redir_app);
} else {
document.getElementById(this.history).innerHTML += history_write;
}