René's URL Explorer Experiment


Title: Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed by SteveL-MSFT · Pull Request #15380 · PowerShell/PowerShell · GitHub

Open Graph Title: Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed by SteveL-MSFT · Pull Request #15380 · PowerShell/PowerShell

X Title: Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed by SteveL-MSFT · Pull Request #15380 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary There's a race condition between the call to set the console cursor position and the screen buffer size has changed that puts the coordinates outside of the screen buffer area and ca...

X Description: PR Summary There's a race condition between the call to set the console cursor position and the screen buffer size has changed that puts the coordinates outside of the screen buffer area an...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/15380

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e32640ef-5caf-6423-efe0-fbf33594b502
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD92C:13DA52:2955EEC:3462B7F:6991AD49
html-safe-nonce9348eae96b60f7471274004ea82067cc79dfe45b67761bc0675f06559cc30f61
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTJDOjEzREE1MjoyOTU1RUVDOjM0NjJCN0Y6Njk5MUFENDkiLCJ2aXNpdG9yX2lkIjoiOTA3NDc1NTQxNTU4NjIyMTM4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd6afa1d021bfc19b4af6c9053d1bff0f448ef1dc478b07af63bc6cc95cee45e8
hovercard-subject-tagpull_request:641494743
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/15380/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e4f3f3c8f7d1014ec9b717d03ac5bea8d55475944a961ecb087aa5f58b758398/PowerShell/PowerShell/pull/15380
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e4f3f3c8f7d1014ec9b717d03ac5bea8d55475944a961ecb087aa5f58b758398/PowerShell/PowerShell/pull/15380
og:image:altPR Summary There's a race condition between the call to set the console cursor position and the screen buffer size has changed that puts the coordinates outside of the screen buffer area and ca...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/15380#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15380
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15380
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/15380
Reloadhttps://github.com/PowerShell/PowerShell/pull/15380
Reloadhttps://github.com/PowerShell/PowerShell/pull/15380
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.2k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 51.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 215 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects 7 https://github.com/PowerShell/PowerShell/projects
Security 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
anmenagahttps://github.com/anmenaga
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:cursor-y-boundshttps://github.com/SteveL-MSFT/PowerShell/tree/cursor-y-bounds
Conversationhttps://github.com/PowerShell/PowerShell/pull/15380
Commits4 (4)https://github.com/PowerShell/PowerShell/pull/15380/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/15380/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/15380/files
Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changedhttps://github.com/PowerShell/PowerShell/pull/15380#top
anmenagahttps://github.com/anmenaga
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:cursor-y-boundshttps://github.com/SteveL-MSFT/PowerShell/tree/cursor-y-bounds
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
May 11, 2021https://github.com/PowerShell/PowerShell/pull/15380#issue-888307835
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
#15254https://github.com/PowerShell/PowerShell/issues/15254
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/SteveL-MSFT
Handle exception if ConsoleHost tries to set cursor out of bounds bec…https://github.com/PowerShell/PowerShell/pull/15380/commits/3f6220e6eb60f87620ae140137bc846f42c392ce
3f6220ehttps://github.com/PowerShell/PowerShell/pull/15380/commits/3f6220e6eb60f87620ae140137bc846f42c392ce
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
anmenagahttps://github.com/anmenaga
daxian-dbwhttps://github.com/daxian-dbw
code ownershttps://github.com/PowerShell/PowerShell/blob/0dcb3a06dd910f3bc3145a59e862bf690839ff95/.github/CODEOWNERS#L36
May 11, 2021 19:21https://github.com/PowerShell/PowerShell/pull/15380#event-4730689388
anmenagahttps://github.com/anmenaga
May 11, 2021https://github.com/PowerShell/PowerShell/pull/15380#event-4730689812
https://github.com/SteveL-MSFT
fix typo in comment so that it makes sense nowhttps://github.com/PowerShell/PowerShell/pull/15380/commits/af29b17324ba282689b96e2b56600af350e663e6
af29b17https://github.com/PowerShell/PowerShell/pull/15380/commits/af29b17324ba282689b96e2b56600af350e663e6
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
May 12, 2021 https://github.com/PowerShell/PowerShell/pull/15380#pullrequestreview-657429066
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15380/files/af29b17324ba282689b96e2b56600af350e663e6
src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cshttps://github.com/PowerShell/PowerShell/pull/15380/files/af29b17324ba282689b96e2b56600af350e663e6#diff-83f6244fd3f88c5d706cc087bddc2ed5f1f8ad14de2c83880b579946a9877747
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
May 12, 2021 https://github.com/PowerShell/PowerShell/pull/15380#pullrequestreview-657429495
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15380/files/af29b17324ba282689b96e2b56600af350e663e6
src/System.Management.Automation/utils/PInvokeDllNames.cshttps://github.com/PowerShell/PowerShell/pull/15380/files/af29b17324ba282689b96e2b56600af350e663e6#diff-05fd66f7af1497cdc2321e060e8c84419066c20d5223f68d632ae1725249cb94
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/SteveL-MSFT
address Ilya's feedback to update Get to use Console API and renumber…https://github.com/PowerShell/PowerShell/pull/15380/commits/be29403822248bbe0b88470c9d0e5a925b4e1198
be29403https://github.com/PowerShell/PowerShell/pull/15380/commits/be29403822248bbe0b88470c9d0e5a925b4e1198
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
force-pushedhttps://github.com/PowerShell/PowerShell/compare/c13b117b172fe70e11242cca36fd8ae219db5255..be29403822248bbe0b88470c9d0e5a925b4e1198
c13b117https://github.com/PowerShell/PowerShell/commit/c13b117b172fe70e11242cca36fd8ae219db5255
be29403https://github.com/PowerShell/PowerShell/commit/be29403822248bbe0b88470c9d0e5a925b4e1198
Compare https://github.com/PowerShell/PowerShell/compare/c13b117b172fe70e11242cca36fd8ae219db5255..be29403822248bbe0b88470c9d0e5a925b4e1198
May 12, 2021 19:17https://github.com/PowerShell/PowerShell/pull/15380#event-4738282052
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
May 13, 2021https://github.com/PowerShell/PowerShell/pull/15380#issuecomment-840769425
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/dotnet/runtime/blob/1b09a384f29eafd98ec6bcb2d9e6fc820c9db801/src/libraries/System.Console/src/System/ConsolePal.Windows.cs#L1066-L1077https://github.com/dotnet/runtime/blob/1b09a384f29eafd98ec6bcb2d9e6fc820c9db801/src/libraries/System.Console/src/System/ConsolePal.Windows.cs#L1066-L1077
PowerShell/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cshttps://github.com/PowerShell/PowerShell/blob/ae772462a5e9da61ab1858f46093abff83380c39/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs#L1290-L1296
ae77246https://github.com/PowerShell/PowerShell/commit/ae772462a5e9da61ab1858f46093abff83380c39
https://camo.githubusercontent.com/b2336f6cc3ca18b4a4faa374dd973f553274f682b050989b132d69e7a694488b/68747470733a2f2f6f70656e67726170682e6769746875626173736574732e636f6d2f316264663633633366643738356630656431393462336633663161626164396132383639386265643930346265396632373234386466333664613739613736622f646f746e65742f72756e74696d65
https://camo.githubusercontent.com/31b18f9a643460151bb1b5cd58f8757abf4033b59d1d3f1103e29a01d0214fe6/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f66617669636f6e732f66617669636f6e2e737667
dotnet/runtimehttps://github.com/dotnet/runtime
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
May 13, 2021https://github.com/PowerShell/PowerShell/pull/15380#issuecomment-840802297
@iSazonovhttps://github.com/iSazonov
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/SteveL-MSFT
revert change to get for CursorPositionhttps://github.com/PowerShell/PowerShell/pull/15380/commits/8ad85fd642e7fa8f9807d8d32adec60bf2976396
8ad85fdhttps://github.com/PowerShell/PowerShell/pull/15380/commits/8ad85fd642e7fa8f9807d8d32adec60bf2976396
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
May 14, 2021 https://github.com/PowerShell/PowerShell/pull/15380#pullrequestreview-659504240
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15380/files/8ad85fd642e7fa8f9807d8d32adec60bf2976396
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
May 14, 2021 https://github.com/PowerShell/PowerShell/pull/15380#pullrequestreview-660071081
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15380/files/8ad85fd642e7fa8f9807d8d32adec60bf2976396
anmenagahttps://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/15380#pullrequestreview-660071081
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
May 14, 2021https://github.com/PowerShell/PowerShell/pull/15380#event-4748235140
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
38d582fhttps://github.com/PowerShell/PowerShell/commit/38d582f038f31acfc1a748d60a5331eb82a3bd28
May 14, 2021https://github.com/PowerShell/PowerShell/pull/15380#event-4748283764
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
May 14, 2021 19:20https://github.com/PowerShell/PowerShell/pull/15380#event-4748561055
https://github.com/ghost
ghosthttps://github.com/ghost
May 27, 2021https://github.com/PowerShell/PowerShell/pull/15380#issuecomment-849812910
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.6
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
May 27, 2021 https://github.com/PowerShell/PowerShell/pull/15380#ref-issue-860266013
PowerShell process occasionally terminates due to Win32 internal error at SetConsoleCursorPosition #15254 https://github.com/PowerShell/PowerShell/issues/15254
https://github.com/rjmholt
rjmholthttps://github.com/rjmholt
Jun 1, 2021 https://github.com/PowerShell/PowerShell/pull/15380#ref-issue-906591743
Cmdlet.WriteProgress() fails intermittently with Win32 internal error 0x57 PowerShell/vscode-powershell#3383 https://github.com/PowerShell/vscode-powershell/issues/3383
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15380
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/15380/files/8ad85fd642e7fa8f9807d8d32adec60bf2976396
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/anmenaga
anmenaga https://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/15380/files/8ad85fd642e7fa8f9807d8d32adec60bf2976396
https://github.com/anmenaga
anmenaga https://github.com/anmenaga
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
PowerShell process occasionally terminates due to Win32 internal error at SetConsoleCursorPosition https://github.com/PowerShell/PowerShell/issues/15254
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15380
https://github.com/SteveL-MSFT
https://github.com/iSazonov
https://github.com/anmenaga
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.