From 89a69d6e2fb26147a1383f775e4c00c10fd15876 Mon Sep 17 00:00:00 2001 From: David Nutting Date: Tue, 10 Dec 2024 20:11:14 -0800 Subject: [PATCH] Update xterm.tsx --- js/src/xterm.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/src/xterm.tsx b/js/src/xterm.tsx index 0dc61a6..57d16da 100644 --- a/js/src/xterm.tsx +++ b/js/src/xterm.tsx @@ -46,6 +46,12 @@ export class OurXterm { this.term.scrollToBottom(); 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.focus();