Title: 5539 - CTRL+Z then Enter will now close shell on Windows. by JazzGlobal · Pull Request #6223 · RustPython/RustPython · GitHub
Open Graph Title: 5539 - CTRL+Z then Enter will now close shell on Windows. by JazzGlobal · Pull Request #6223 · RustPython/RustPython
X Title: 5539 - CTRL+Z then Enter will now close shell on Windows. by JazzGlobal · Pull Request #6223 · RustPython/RustPython
Description: Fixes #5539 Sending CTRL+Z will now cause the shell to close on Windows. The EOF will still be stored in the history. This is how it works when running python on CMD and Powershell so I figured I'd leave it alone. Not sure if that's a python feature or a feature of those particular shells 😄 Summary by CodeRabbit Bug Fixes CTRL+Z on Windows now correctly signals end-of-file in the interactive REPL. Trailing carriage returns/newlines are trimmed so an explicit EOF input is recognized when running in a terminal. Non-Windows platforms and other input paths retain previous behavior; public interfaces remain unchanged.
Open Graph Description: Fixes #5539 Sending CTRL+Z will now cause the shell to close on Windows. The EOF will still be stored in the history. This is how it works when running python on CMD and Powershell so I figured I...
X Description: Fixes #5539 Sending CTRL+Z will now cause the shell to close on Windows. The EOF will still be stored in the history. This is how it works when running python on CMD and Powershell so I figured I&a...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6223
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:16eb72a0-9ff7-b67f-4b5c-9e6f6987fefd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9B6:30F550:1AB15D2:25590FC:696A4FA5 |
| html-safe-nonce | 8547b200b4dbb1175cccb05a84e4c6cb72b7cfff4289bce9eb7841f1f512c481 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUI2OjMwRjU1MDoxQUIxNUQyOjI1NTkwRkM6Njk2QTRGQTUiLCJ2aXNpdG9yX2lkIjoiNDY4MjQ4MTUxMTA2MTQ2MjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a0474c100913fb2c264b17a5caf78b4ae32c4a501b55943e1f52933fd1f41fec |
| hovercard-subject-tag | pull_request:2952328251 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/6223/files |
| twitter:image | https://avatars.githubusercontent.com/u/28527915?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/28527915?s=400&v=4 |
| og:image:alt | Fixes #5539 Sending CTRL+Z will now cause the shell to close on Windows. The EOF will still be stored in the history. This is how it works when running python on CMD and Powershell so I figured I... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width