From 8961a72d2d936bac273763e09136b5303bb8a7e9 Mon Sep 17 00:00:00 2001 From: rufatkul <24218176+rufatkul@users.noreply.github.com> Date: Sun, 9 Aug 2026 05:56:52 -0700 Subject: [PATCH] Set autocomplete="off" on the helper textarea (#6057) Without an autocomplete hint, focusing a terminal on iOS/iPadOS Safari pops the AutoFill accessory (passwords / credit cards / contacts) for the hidden textarea. The sibling hints (autocorrect, autocapitalize, spellcheck) are already set; this adds the missing one. Co-authored-by: Claude Fable 5 --- src/browser/CoreBrowserTerminal.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser/CoreBrowserTerminal.ts b/src/browser/CoreBrowserTerminal.ts index 4557e1652..67893b796 100644 --- a/src/browser/CoreBrowserTerminal.ts +++ b/src/browser/CoreBrowserTerminal.ts @@ -492,6 +492,7 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal { // https://issuetracker.google.com/issues/260170397 this.textarea.setAttribute('aria-multiline', 'false'); } + this.textarea.setAttribute('autocomplete', 'off'); this.textarea.setAttribute('autocorrect', 'off'); this.textarea.setAttribute('autocapitalize', 'off'); this.textarea.setAttribute('spellcheck', 'false');