Change:
private _dimensions: ITerminalDimensions; private __isCommandStorageDisabled: boolean = false; private _handleCommandStartOptions?: IHandleCommandOptions; <ins> private _commandStartWindowsPromise?: Promise<void>; </ins> get commands(): readonly ITerminalCommand[] { return this._commands; } get executingCommand(): string | undefined { return this._currentCommand.command; }

Discussion:
Type: <bBug</bCC a new terminal and hit enter in a new line and hit enter (you must create at least two lines of code to test b/c the single line does not have this issue) UpArrow LeftArrow multiple times to test if you can hear "echo world" character by character. Notes: For NVDA and JAWS on Windows, it keeps saying "d" which is the last character. VS Code version: Code - Insiders 1.83.0-insider (, 2023-09-19T08:56:35.775Z) OS version: WindowsNT x64 10.0. Modes: <details<summarySystem Info</summary </details<details<summaryExtensions (91)</summaryExtensionVersion ------ android-dev-ext1.3.2 aiprm-lang0.0.2 Bookmarks13.4.1 openscad1.2.1 spellright3.0.118 zoterolatex0.4.1 mermaid-markdown-syntax-highlighting1.5.2 doxdocgen1.4.0 vscode-markdownlint0.51.0 vscode-eslint2.4.2 vscode-quick-select0.2.9 vscode-deno3.22.0 gitlens14.3.0 EditorConfig0.16.4 prettier-vscode10.1.0 vscode-google-translate1.4.13 codespaces1.15.3 copilot1.112.422 copilot-chat0.8.

remotehub0.60.0 vscode-github-actions0.26.2 vscode-pull-request-github0.72.0 overleaf-workshop0.1.5 cslpreview0.2.2 easy-snippet0.6.3 path-autocomplete1.25.0 latex-workshop9.14.0 lilypond-syntax0.1.1 scheme0.2.0 better-cpp-syntax1.17.2 google-search0.0.1 vscode-lua-format1.3.8 lilypond-formatter0.2.3 lilypond-pdf-preview0.2.8 lilypond-snippets0.1.1 vslilypond1.7.3 zotero0.1.10 git-graph1.30.0 vscode-docker1.26.0 black-formatter2023.4.1 flake82023.6.0 isort2023.11. python2023.16.0 vscode-pylance2023.9.10 jupyter2023.8.

jupyter-keymap1.1.2 jupyter-renderers1.0.17 vscode-jupyter-cell-tags0.1.8 vscode-jupyter-slideshow0.1.5 remote-containers0.311.0 remote-ssh0.106.4 remote-ssh-edit0.86.0 remote-wsl0.81.3 vscode-remote-extensionpack0.24.0 azure-repos0.36.0 cmake-tools1.15.31 cpptools1.17.5 cpptools-extension-pack1.3.0 js-debug-nightly2023.9.1317 powershell2023.6.0 remote-repositories0.38.1 vscode-github-issue-notebooks0.0.129 vscode-selfhost-test-provider0.3.18 vscode-serial-monitor0.10.0 vsliveshare1.0.5883 autodocstring0.6.1 pandocciter0.10.3 shiny-python0.1.4 shinyuieditor0.4.3 quarto1.98.0 r-debugger0.5.4 java1.22.1 vscode-xml0.26.1 r2.8.1 multi-command1.6.0 vscode-deepl1.0.6 abc-music0.4.0 lua3.7.0 latex-utilities0.4.10 cmake0.0.17 errorlens3.13.0 intellicode-api-usage-examples0.2.8 vscodeintellicode1.2.30 vscode-arduino0.6.0 vscode-java-debug0.54.0 vscode-java-dependency0.23.1 vscode-java-pack0.25.14 vscode-java-test0.39.1 vscode-maven0.42.0 markdown-all-in-one3.5.1 grammarly0.22.1 (1 theme extensions excluded) </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
Yeah, this is acting very buggy on windows
<!-- AUTHORVERIFICATIONREQUEST --This bug has been fixed in the latest release of ! you can help us out by commenting if things are now working as expected.

If things still don't seem right, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
repro steps as listed should work. Lmk if you have questions
Navigating left and right is fine, but after typing a command, NVDA reads out a misspelled version of the command multiple times !
reopening because marked verification-found per the process.
It's a lot better today. Closing and marking as verified. Edit: nvm, but will file a new issue for the bug.
can still repro. He's going to send me the output logs. The command decorations are off here. !
the command start line is off here, which is causing this issue. Do you know why / how that happens?
Does not reproduce for me on Windows.
this can happen sometimes on Windows. What I'd recommend is add some logic when a command starts that does a quick scan of nearby lines to re-adjust for the common PS/cmd prompt case if the current line does not look like a prompt. This is a workaround until shell integration sequences are passed through correctly by conpty.
feature as we'll want to call this out in the terminal section of the release notes

a screen reader and run a few commands in the terminal up arrow and use the left arrow to navigate through the command the command text area is no longer synced correctly
what is the "text area"? I tried to repro the issue on stable and I looked at the accessible view, but I'm not sure what I'm looking for.
Enable "terminal.integrated.developer.devMode" to check the contents are right
Or use a screen reader and ensure that when navigating w arrow keys, the right chars are announced. In either case, need to be in screen reader optimized mode
Very cool to see this actually working for history