From 494187bea057d9689c57091b2a242c407ec610af Mon Sep 17 00:00:00 2001 From: serapath Date: Tue, 12 Sep 2017 17:51:27 +0200 Subject: [PATCH] FIX line break bug --- src/app/panels/terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/panels/terminal.js b/src/app/panels/terminal.js index b3a2f9329a..238b4aedd9 100644 --- a/src/app/panels/terminal.js +++ b/src/app/panels/terminal.js @@ -415,7 +415,7 @@ class Terminal { var script = self._view.input.innerText.trim() self._view.input.innerText = '\n' if (script.length) { - self._cmdHistory.push('\n' + script) + self._cmdHistory.push(script) self.commands.script(script) } }