mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 01:18:21 +00:00
feat: help popup display viewing progress (#2388)
This commit is contained in:
parent
ba9adf40f4
commit
fb1ba7c0b9
2 changed files with 10 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ Checkout [THEMES.md](./THEMES.md) for more info.
|
|||
### Added
|
||||
* due to github runner changes, the regular mac build is now arm64, so we added support for intel x86 apple build in nightlies and releases (via separat artifact)
|
||||
* support `BUILD_GIT_COMMIT_ID` enabling builds from `git archive` generated source tarballs or other outside a git repo [[@alerque](https://github.com/alerque)] ([#2187](https://github.com/extrawurst/gitui/pull/2187))
|
||||
* support help popup display viewing progress[[@wugeer](https://github.com/wugeer)](https://github.com/extrawurst/gitui/pull/2388))
|
||||
|
||||
### Fixes
|
||||
* update yanked dependency to `libc` to fix building with `--locked`.
|
||||
|
|
|
|||
|
|
@ -67,6 +67,15 @@ impl DrawableComponent for HelpPopup {
|
|||
chunks[0],
|
||||
);
|
||||
|
||||
ui::draw_scrollbar(
|
||||
f,
|
||||
area,
|
||||
&self.theme,
|
||||
self.cmds.len(),
|
||||
self.selection as usize,
|
||||
ui::Orientation::Vertical,
|
||||
);
|
||||
|
||||
f.render_widget(
|
||||
Paragraph::new(Line::from(vec![Span::styled(
|
||||
Cow::from(format!(
|
||||
|
|
|
|||
Loading…
Reference in a new issue