-
-
Notifications
You must be signed in to change notification settings - Fork 278
[WIP] Refactor keypress to follow urwid rules #1063
New issue
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
base: main
Are you sure you want to change the base?
Conversation
This commit modifies urwid's `CommandMap` class object `command_map` to map alternate navigational keys to standard urwid navigational aliases. This is used in `ui.py` and `PopupView`. Users can also now add custom nav-keys by adding it to KEY_BINDINGS. Tests updated.
This commit: * Changes old notation self.model.controller to self.controller
Tests added for Special Narrow keypress actions in View.
7f807f6
to
8427664
Compare
@Rohitth007 I left a note in the topic on #zulip-terminal, let's discuss! |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
5 similar comments
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
28 similar comments
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
ERROR: This active issue has no assignee. |
This PR changes the current keypress flow to follow urwid rules.
This is built on PR #974 would need PR #1060 to proceed.