From 8702c3668df41b714f0e7016a03ce7a666316e94 Mon Sep 17 00:00:00 2001 From: Vitaly Antonenko Date: Wed, 15 Jun 2022 10:45:33 +0300 Subject: [PATCH] add help note to status string --- viddy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/viddy.go b/viddy.go index edb0d3a..26d4b65 100644 --- a/viddy.go +++ b/viddy.go @@ -341,7 +341,8 @@ 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("Press '?' for help")) + v.statusView.SetText(fmt.Sprintf("Suspend %s Diff %s Bell %s Press ? for help", convertToOnOrOff(v.isSuspend), convertToOnOrOff(v.isShowDiff), convertToOnOrOff(v.isRingBell)))