mirror of
https://github.com/sorenisanerd/gotty.git
synced 2025-04-02 17:10:29 +00:00
Update xterm.tsx
This commit is contained in:
parent
c69d11d17d
commit
89a69d6e2f
@ -46,6 +46,12 @@ export class OurXterm {
|
|||||||
this.term.scrollToBottom();
|
this.term.scrollToBottom();
|
||||||
this.showMessage(String(this.term.cols) + "x" + String(this.term.rows), this.messageTimeout);
|
this.showMessage(String(this.term.cols) + "x" + String(this.term.rows), this.messageTimeout);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const input = this.term.textarea()
|
||||||
|
input.setAttribute('autocorrect', 'off');
|
||||||
|
input.setAttribute('autocapitalize', 'off');
|
||||||
|
input.setAttribute('autocomplete', 'off');
|
||||||
|
input.setAttribute('spellcheck', 'false');
|
||||||
|
|
||||||
this.term.open(elem);
|
this.term.open(elem);
|
||||||
this.term.focus();
|
this.term.focus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user