Skip to content

Commit

Permalink
Update Status view
Browse files Browse the repository at this point in the history
  • Loading branch information
anvial committed Aug 29, 2022
1 parent 2bb089d commit 27de025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions viddy.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (v *Viddy) renderSnapshot(id int64) error {
}

func (v *Viddy) UpdateStatusView() {
v.statusView.SetText(fmt.Sprintf("Suspend %s Diff %s Bell %s",
v.statusView.SetText(fmt.Sprintf("(S)uspend %s (D)iff %s (B)ell %s (H)elp [blue]?",
convertToOnOrOff(v.isSuspend),
convertToOnOrOff(v.isShowDiff),
convertToOnOrOff(v.isRingBell)))
Expand Down Expand Up @@ -593,7 +593,7 @@ func (v *Viddy) Run() error {
if v.isDebug {
v.ShowLogView(!v.showLogView)
}
case '?':
case '?', 'h':
v.ShowHelpView(!v.showHelpView)
case '/':
if v.query != "" {
Expand Down Expand Up @@ -714,7 +714,7 @@ var helpTemplate = `Press ESC or Q to go back
Toggle ring terminal bell : [yellow]b[-:-:-]
Toggle diff : [yellow]d[-:-:-]
Toggle header display : [yellow]t[-:-:-]
Toggle help view : [yellow]?[-:-:-]
Toggle help view : [yellow]h[-:-:-], [yellow]?[-:-:-]
[::u]Pager[-:-:-]
Expand Down

0 comments on commit 27de025

Please sign in to comment.