Title: Fix handling of double-column characters · Issue #749 · bpython/bpython · GitHub
Open Graph Title: Fix handling of double-column characters · Issue #749 · bpython/bpython
X Title: Fix handling of double-column characters · Issue #749 · bpython/bpython
Description: This is probably an issue with curtsies, but until I'm sure I want to report it here first: Steps to reproduce: Enter something like '間'.isalnum(), then move the cursor back (left arrow key) such that a is the next character, and insert ...
Open Graph Description: This is probably an issue with curtsies, but until I'm sure I want to report it here first: Steps to reproduce: Enter something like '間'.isalnum(), then move the cursor back (left arrow key) such t...
X Description: This is probably an issue with curtsies, but until I'm sure I want to report it here first: Steps to reproduce: Enter something like '間'.isalnum(), then move the cursor back (left arrow...
Opengraph URL: https://github.com/bpython/bpython/issues/749
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix handling of double-column characters","articleBody":"This is probably an issue with curtsies, but until I'm sure I want to report it here first:\r\n\r\nSteps to reproduce: Enter something like `'間'.isalnum()`, then move the cursor back (left arrow key) such that `a` is the next character, and insert an `x`.\r\nExpected behavior: Visually it looks like we're about to insert an `x` between `is` and `alnum`. So I would expect the line to say `isxalnum`.\r\nActual behavior: It now says `'間'.isaxlnum()`, with the next character seemingly being the `x`.\r\n\r\nTry this out with `y` instead of `間` to see the expected behavior.\r\n\r\nI may have broken this in the patch to #703, I'm not sure.\r\n\r\nThe pun (\"間\" meaning \"between\") is entirely coincidental, but I like it, and I'm keeping it.","author":{"url":"https://github.com/BenWiederhake","@type":"Person","name":"BenWiederhake"},"datePublished":"2018-09-14T15:31:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/749/bpython/issues/749"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aabe1d60-b03a-a52e-47e5-b1ef652faa30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3C0:20AE98:239FCD:32B048:6967578A |
| html-safe-nonce | bca5a0cc205d3f6230dd273f14e0e5dec66599d569a6690a7349267d5b79f62c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0MwOjIwQUU5ODoyMzlGQ0Q6MzJCMDQ4OjY5Njc1NzhBIiwidmlzaXRvcl9pZCI6IjIzNzk0MDI4MTcwNzY0MTg0NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | beae0ba12cf8fc80ed56e12676f6172eb2518d3378ca701565c46d0f21ad7890 |
| hovercard-subject-tag | issue:360353164 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/bpython/bpython/749/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c21293b00fab8922cc4b84ce6016afeef268943a9c28ed39361e44ca7b6195f/bpython/bpython/issues/749 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c21293b00fab8922cc4b84ce6016afeef268943a9c28ed39361e44ca7b6195f/bpython/bpython/issues/749 |
| og:image:alt | This is probably an issue with curtsies, but until I'm sure I want to report it here first: Steps to reproduce: Enter something like '間'.isalnum(), then move the cursor back (left arrow key) such t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BenWiederhake |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6a4ac66aaa8be0077b72a69fd56fb51cd11215a1e31f0365079e012987234a |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 045909cd564d790cacd96dcb8722039dff679d63 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width