-
Notifications
You must be signed in to change notification settings - Fork 58
term: remove duplicate flag and add comment on windows #14
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
Both `windows.ENABLE_PROCESSED_INPUT` and `windows.ENABLE_PROCESSED_OUTPUT` have the same value of `0x1`. Using `makeRaw` on a console output screen buffer handle wouldn't make sense since on Windows the input handle and the output screen buffer handle are two separate things. See https://learn.microsoft.com/en-us/windows/console/setconsolemode
This PR (HEAD: 43baa50) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/562779. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Ayman Bagabas: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from qiulaidongfeng: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-02-10T02:10:30Z","revision":"5427808fd47b76da35c339fe2923f464db721b45"} Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from qiulaidongfeng: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 1: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
This PR (HEAD: 2e39ed2) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/562779. Important tips:
|
@ldemailly Could you please take a look at this one? |
Message from Laurent Demailly: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Ayman Bagabas: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
This PR (HEAD: 832fc7e) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/term/+/562779. Important tips:
|
Message from Laurent Demailly: Patch Set 3: Code-Review+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from t hepudds: Patch Set 3: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-07-12T02:48:41Z","revision":"e8996113d65b35c0a7fabc8f21f05c2293c02e6e"} Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from t hepudds: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 3: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 3: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Jorropo: Patch Set 3: Code-Review+1 Commit-Queue+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-07-12T17:18:23Z","revision":"e8996113d65b35c0a7fabc8f21f05c2293c02e6e"} Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Jorropo: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Go LUCI: Patch Set 3: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
@aymanbagabas can you edit the description to be markdown free and with line breaks (see comment about this in the CL) |
I've updated the PR description. Thank you for the reminder @ldemailly 🙂 |
Message from Ayman Bagabas: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Laurent Demailly: Patch Set 4: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Michael Pratt: Patch Set 4: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Message from Cherry Mui: Patch Set 4: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/562779. |
Both windows.ENABLE_PROCESSED_INPUT and windows.ENABLE_PROCESSED_OUTPUT have the same value of 0x1. Using makeRaw on a console output screen buffer handle wouldn't make sense since on Windows the input handle and the output screen buffer handle are two separate things. See https://learn.microsoft.com/en-us/windows/console/setconsolemode Change-Id: I19feadf8da303a1ada8e517399416a4730845900 GitHub-Last-Rev: 832fc7e GitHub-Pull-Request: #14 Reviewed-on: https://go-review.googlesource.com/c/term/+/562779 Reviewed-by: Michael Pratt <[email protected]> Reviewed-by: Laurent Demailly <[email protected]> Reviewed-by: Jorropo <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
This PR is being closed because golang.org/cl/562779 has been merged. |
🎉 only took 18 months :) ty! |
Both windows.ENABLE_PROCESSED_INPUT and windows.ENABLE_PROCESSED_OUTPUT have
the same value of 0x1. Using makeRaw on a console output screen buffer handle
wouldn't make sense since on Windows the input handle and the output screen
buffer handle are two separate things.
See https://learn.microsoft.com/en-us/windows/console/setconsolemode