-
Notifications
You must be signed in to change notification settings - Fork 353
Arrow keys don't work when terminal is in keypad-transmit mode #228
Comments
Thanks for reporting this @romkatv! I am a bit swamped atm so I don't think I will have time to address this quickly but if you wanted to take a stab at fixing it, I'd be happy to review a PR! |
Oh, this is not urgent at all. In fact, feel free to never fix this issue or close it. I've only opened it to let you know there is likely a bug. I should've mentioned this in the description. |
My team is seeing this from time to time in our survey-based application. I'm not sure what I did to put my terminal in keypad-transmit mode, but thanks for the explanation and for the echo command, which allows me to reproduce the problem. The problem was quite persistent across runs until I reset the terminal, and I expect few of our users will understand the rather obscure cause and remedy, so please do regard this an open problem. I'd be happy to contribute a fix if you could advise on the right approach, e.g.
More useful explanation here: fish-shell/fish-shell#2139 (comment) |
@AlecAivazis At GitHub CLI we're also fairly interested in seeing this fixed. The proposed fix in the linked PR looks good to me code-wise, but I haven't yet tested in across different platforms. I could do that soon and report back. If you are struggling to find time these days and if you are open to giving us maintainer bits so we could ship a fix for this and tag a patch release, feel free to reach out to me! 🙇 |
I confirm that the PR fixes the issue seen by me and @mislav; see my comment at https:/AlecAivazis/survey/pull/367/files#r705362421. Thanks! |
Pick up the bugfix to AlecAivazis/survey#228. This also provides a cleaner API for setting survey icons.
11118: ci: Update post-release PR to align with release process r=AaronFriel a=AaronFriel As the release process now includes a "freeze PR" which updates `.version` _prior_ to release, the post-release PR shouldn't attempt to make the same change, as it causes a merge conflict. This removes the notion of "next-version" from the CI scripts, as that post-release PR was the only place it was used. The post-release PR can also be auto-merged, so `queue-merge` is set to true. 11249: ci: Reduce Windows test parallelism r=AaronFriel a=AaronFriel Increases likelihood of CI passing on Windows due to longstanding CPU exhaustion bug on runners. (GitHub support ticket 1791026 on my account.) 11284: Make convert's pcl output yaml agnostic r=Frassle a=Frassle <!--- Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https:/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation. --> # Description <!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. --> We're going to use convert for more data sources than just YAML (e.g. hcl, arm, etc). So we don't want the PCL output option to be YAML specific given it should be usable for any input source. 11288: [cli] Update the survey module r=pgavlin a=pgavlin Pick up the bugfix to AlecAivazis/survey#228. This also provides a cleaner API for setting survey icons. 11289: [cli] Add a newline in the refresh confirmation prompt r=pgavlin a=pgavlin The lack of a newline causes the prompt to wrap in terminals that are fewer than 120 or so columns wide. The wrapping confuses the survey package's redraw, which causes the repeated prompts each time the survey is redrawn (i.e. on every keypress). Removing the wrapping by adding a newline avoids this issue. Co-authored-by: Aaron Friel <[email protected]> Co-authored-by: Fraser Waters <[email protected]> Co-authored-by: Pat Gavlin <[email protected]>
To reproduce:
smkx
).countrylist
example.Expected: Country selection moves down.
Actual: Country selection doesn't move and an error message is printed:
The reason is that in keypad-transmit mode down arrow key sends
^[OB
instead of^[[B
thatsurvey
expects.More info:
The text was updated successfully, but these errors were encountered: