Skip to content

Commit fb1ba7c

Browse files
authored
feat: help popup display viewing progress (#2388)
1 parent ba9adf4 commit fb1ba7c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Checkout [THEMES.md](./THEMES.md) for more info.
3838
### Added
3939
* 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)
4040
* 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))
41+
* support help popup display viewing progress[[@wugeer](https://github.com/wugeer)](https://github.com/extrawurst/gitui/pull/2388))
4142

4243
### Fixes
4344
* update yanked dependency to `libc` to fix building with `--locked`.

src/popups/help.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ impl DrawableComponent for HelpPopup {
6767
chunks[0],
6868
);
6969

70+
ui::draw_scrollbar(
71+
f,
72+
area,
73+
&self.theme,
74+
self.cmds.len(),
75+
self.selection as usize,
76+
ui::Orientation::Vertical,
77+
);
78+
7079
f.render_widget(
7180
Paragraph::new(Line::from(vec![Span::styled(
7281
Cow::from(format!(

0 commit comments

Comments
 (0)