We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494e451 commit 7b159ffCopy full SHA for 7b159ff
webSource/js/TerminalInput.js
@@ -138,8 +138,9 @@ TerminalInput.prototype.set = function (text) {
138
139
element.value = text;
140
length = element.value.length;
141
+ this.setCaretPosition(length);
142
+ //setTimeout(function() { _._onInput(); }, 1);
143
this._onInput();
- setTimeout(function() { element.setSelectionRange(length, length); }, 1);
144
145
};
146
0 commit comments