mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 17:35:55 +03:00
[PR #17] [MERGED] [no-issue] change key bindings #42
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/hackernews-TUI/pull/17
Author: @aome510
Created: 3/18/2021
Status: ✅ Merged
Merged: 3/18/2021
Merged by: @aome510
Base:
main← Head:no-issue-change-key-bindings📝 Commits (10+)
1098776change status and footer layout86b456dmove key bindings for switching to story_view, search_view to global callback5c7bbffimprove error_view3dcd89amake comment_view public0c5b5e0improve help_viewb77bb79use ctrl instead of alt for leader keyc795dfcmake buttons in footer workd4db846update README.md477fefdfix highlighting0c3683achange universal to global📊 Changes
15 files changed (+152 additions, -186 deletions)
View changed files
📝
README.md(+10 -7)📝
examples/assets/comment_view.png(+0 -0)➕
examples/assets/footer_buttons.png(+0 -0)📝
examples/assets/story_search_view.png(+0 -0)📝
examples/assets/story_view.png(+0 -0)📝
src/main.rs(+21 -7)📝
src/prelude.rs(+1 -1)📝
src/view/async_view.rs(+1 -2)📝
src/view/comment_view.rs(+11 -39)📝
src/view/error_view.rs(+8 -41)📝
src/view/help_view.rs(+41 -34)📝
src/view/mod.rs(+6 -5)📝
src/view/search_view.rs(+13 -11)📝
src/view/story_view.rs(+13 -17)📝
src/view/utils.rs(+27 -22)📄 Description
Brief description of changes
ctrlas the leader key for global key shortcuts.HasHelpViewtrait.Cursive View.ErrorViewlayout.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.