Skip to content
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

Hotkey system for view framework #826

Closed
Tracked by #761
jvalkeal opened this issue Jul 22, 2023 · 0 comments
Closed
Tracked by #761

Hotkey system for view framework #826

jvalkeal opened this issue Jul 22, 2023 · 0 comments
Labels
area/components-view Belongs ui view components
Milestone

Comments

@jvalkeal
Copy link
Contributor

Essentially conceptual copy of hotkey in https://gui-cs.github.io/Terminal.Gui/articles/keyboard.html.

@jvalkeal jvalkeal added the area/components-view Belongs ui view components label Jul 22, 2023
@jvalkeal jvalkeal added this to the 3.2.x milestone Jul 22, 2023
@jvalkeal jvalkeal modified the milestones: 3.2.x, 3.2.0-M2 Jul 22, 2023
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Aug 10, 2023
- Duplicate keyhandler into hotkeyhandler
- Define some view to handle hot keys, like AppView and MenuBarView
- Catalog app binds some menus to hot keys
- Bind all normal keys a-z with alt
- Relates spring-projects#823
- Relates spring-projects#826
@jvalkeal jvalkeal modified the milestones: 3.2.0-M2, 3.2.0-RC1 Sep 25, 2023
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Oct 30, 2023
- StatusItem can now define a hotkey which is then
  bound to its action.
- In catalog app replace use of raw key event to
  item's hotkey for status bar visibility.
- Various doc updates.
- Relates spring-projects#826
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Nov 12, 2023
- Category and scenario list views can now be focused with
  ctrl+a/ctrl+s.
- Bind all keys with ctrl modifier
- Add "shortcut" concept to views which currently hooks to
  hot keys.
- In a catalog app by using a "shortcut" then takes the key
  event as a hot key, as it consumes resulting behaviour
  is to focus.
- Move view initInternal away from constructor call to
  require user to call init() which is not in a
  View interface
- Relates spring-projects#826
@jvalkeal jvalkeal modified the milestones: 3.2.0-RC1, 3.2.0 Nov 27, 2023
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components-view Belongs ui view components
Projects
None yet
Development

No branches or pull requests

1 participant