We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For some reason, the arrow keys do not work from unit tests on OSX even though they work fine in the actual product.
For example, I log the raw characters the test is sending:
[2021-06-21T16:19:48Z] Input 2417 ^[OBLocke^[OBHobbes$ 2418 ^I$ 2419 $
Yet when we process those characters, we DO see the correct arrow key, yet dialog interprets it as ENTER incorrectly:
ENTER
[2021-06-21T16:19:49Z|dialog.sh:651:dialog_prompt] [Sending] ^[OB$ chr DLGK_ENTER (ch=0x21d, fkey=541) # dlg_result_key(dialog_key=541, fkey=541) # dlg_ok_buttoncode(1) = 3:EXTRA
To unblock current work, I've added a skip_if "os darwin" to the affected failing tests:
skip_if "os darwin"
ETEST_dialog_yesno_no ETEST_dialog_prompt_optional_multi_first ETEST_dialog_prompt_optional_multi_middle ETEST_dialog_prompt_default_values_override ETEST_dialog_prompt_default_values_override_tab ETEST_dialog_prompt_default_values_override_tab_term ETEST_dialog_checklist ETEST_dialog_checklist_middle ETEST_dialog_checklist_spaces ETEST_dialog_radiolist ETEST_dialog_radiolist_middle ETEST_dialog_radiolist_spaces
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For some reason, the arrow keys do not work from unit tests on OSX even though they work fine in the actual product.
For example, I log the raw characters the test is sending:
Yet when we process those characters, we DO see the correct arrow key, yet dialog interprets it as
ENTER
incorrectly:To unblock current work, I've added a
skip_if "os darwin"
to the affected failing tests:The text was updated successfully, but these errors were encountered: