GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Multi-line editing · Issue #1013 · bpython/bpython Open Description(This complements #22, it is not a duplicate.) While inputting a multi-line form (e.g. a function or class), bpython does not let me cursor back to a previous line (e.g. to fix a typo). Note, this is orthogonal and complementary to working with multi-line entries from history, which is already tracked by #22. Repro
ExpectedYou can move the cursor to the previous line (and then make any necessary changes to it before going back to the next line). ObservedYou can't move the cursor to a previous line. It stays stuck in the current line. Prior ArtThis works in other REPLs such as IPython: Screen.Recording.2024-03-26.at.10.48.58.AM.movWorkarounds
Besides requiring extra steps/friction and being less discoverable, a major downside of this workaround is that, if your text editor opens "on top of" bpython in the same terminal (e.g. you use vim, you're not in a GUI environment where your editor can open in a new desktop window, etc.), then you lose the context of your previous input in your bpython session, which you may need to refer to for your current input.
This avoids the loss of context of the C-x workaround, but still requires more steps and mental overhead to make a simple change like a typo fix to the previous line. Reacted by Jori Niemi, pavol kutaj and Seth "Violet" Gibbs Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |