Mostly a bugfix release, with fixes for the bookmark pane and view layering, live theme reloading, and groundwork for context-aware key bindings.
Improvements
- Themes: Sending
SIGUSR1to jjui reloads the active theme without a restart, which is handy while editing a theme file. If the reloaded theme turns on background blending, jjui queries the terminal palette again so blended backgrounds come out right. (#762) - Bindings: Actions and bindings can now have a
whencondition based on the current state of the app. For example, annotate (shift+c) is only available whenrevisions.has_revision && !revisions.is_root && !revisions.is_empty, and expanded help strikes it through on the root or an empty revision. For now it mostly keeps help honest about what applies to the current selection. Later, it will let jjui show the right binding for the situation, such as separate open and close actions instead of one generic toggle.
Bug Fixes
- Bookmarks: Bookmark names containing characters such as
#are now quoted correctly forgit pushandgit fetch, from both the Git menu and the bookmark pane. (#763) - Bookmark pane:
ctrl+pandctrl+nnow move up and down in the bookmark pane. (#758) - Bookmark pane: Styling now follows the bookmark theme. (#757)
- Bookmark pane: The Git menu now stays above the bookmark pane. (#754)
- Preview: Preview hotkeys no longer reach a preview hidden behind a diff or annotation view. Previously,
ctrl+nin a diff scrolled the hidden preview. - Dialogs: Closing a dialog opened over a diff or annotation view now closes the dialog first, not the view underneath it.
- Mouse: Clicks on a list item that is partly scrolled out of view now reach the item.
- Askpass: Askpass is now skipped on Windows instead of failing. (#755)
- Help: Expanded help no longer shows the revset scope when it isn't active.
What's Changed
- fix(bookmarkpane): keep git menu above bookmark pane by @baggiiiie in #754
- fix(bookmarkpane): align styling with bookmark theme by @baggiiiie in #757
- fix(bookmarkpane): support readline navigation keys by @baggiiiie in #758
- fix: quote bookmark names for git push and fetch by @baggiiiie in #763
- feat: reload active theme on SIGUSR1 by @baggiiiie in #762
Full Changelog: v0.10.11...v0.10.12