-
Notifications
You must be signed in to change notification settings - Fork 5.7k
fix(runtime/windows): fix calculation of console size #23873
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
Conversation
dde9496
to
39bc84a
Compare
I haven't implemented an underflow check for the subtractions, but I can if requested. |
I read the docs a bit closer and decided that over/under-flow protection was warranted given the vagueness. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one comment
@littledivy can you, please, shepherd this PR to landing? |
@rivy can you rebase this PR onto main? Also, please allow maintainers the ability to push to your branches in the future. I went through and fixed this PR myself and then wasn't able to push. |
Happy to rebase. I didn't specifically disallow maintainer edits; I just opened a quick PR. |
9f50e84
to
cf57755
Compare
I did some quick research, and the permission problem might be related to my fork being "organization owned" (I segregate forks which I don't "own" but commit to into a "rivy-fix" organization). It looks like cross-organization edit permission is not enabled. There's some discussion about this as a problem in the community discussions (see https://github.com/orgs/community/discussions/5634). Ultimately, it looks like the missing permission is at least a documentation problem if not a frankly ignored bug. ref: https://github.com/orgs/community/discussions/5634 |
Fixes #23872.