Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v15] Enable ConPTY by default in terminals on Windows #44743

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

gzdunek
Copy link
Contributor

@gzdunek gzdunek commented Jul 29, 2024

Backport #44468 to branch/v15

Changelog: Teleport Connect now uses ConPTY for better terminal resizing and accurate color rendering on Windows, with an option to disable it in the app config

* Add `terminal.windowsUseConpty` config option

* Calculate `windowsPty` options

* Pass `useConpty` to node-pty

* Pass `windowsPty` to xterm

* Fix test

* Replace `terminal.windowsUseConpty` with `terminal.windowsBackend`, pass boolean all the way through

* Wait for pty processes to exit before closing the app

* Simplify `Array.from`

* `GRACEFUL_KILL_MESSAGE` -> `TERMINATE_MESSAGE`

* Adjust callsites to async `dispose`

* Add `winpty` to ignored words in `cspell.json`

(cherry picked from commit 981aed6)
Copy link

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@github-actions github-actions bot requested review from ravicious and zmb3 July 29, 2024 14:37
Copy link

🤖 Vercel preview here: https://docs-cgumi6xa7-goteleport.vercel.app/docs/ver/preview

@gzdunek gzdunek added this pull request to the merge queue Jul 30, 2024
Merged via the queue into branch/v15 with commit c2090c9 Jul 30, 2024
36 of 37 checks passed
@gzdunek gzdunek deleted the gzdunek/backport-44468/v15 branch July 30, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants