From 1dbd4edf297732ad28064524c8a1c6eaa8816d0a Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Wed, 13 Oct 2021 16:44:22 -0300 Subject: [PATCH] feat!: initialize the terminal in insertMode Close #17 --- .../java/com/flowingcode/vaadin/addons/xterm/XTerm.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/flowingcode/vaadin/addons/xterm/XTerm.java b/src/main/java/com/flowingcode/vaadin/addons/xterm/XTerm.java index ba69e6b..5b140a9 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/xterm/XTerm.java +++ b/src/main/java/com/flowingcode/vaadin/addons/xterm/XTerm.java @@ -27,4 +27,10 @@ @Tag("fc-xterm") @JsModule("./fc-xterm/xterm.ts") public class XTerm extends XTermBase - implements ITerminalFit, ITerminalConsole, ITerminalClipboard {} + implements ITerminalFit, ITerminalConsole, ITerminalClipboard { + + XTerm() { + setInsertMode(true); + } + +}