summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/chat/chat.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-24 21:33:44 +0200
committerKyren223 <Kyren223@proton.me>2025-01-24 21:33:44 +0200
commit6a13388cafafcada224b4caabb9f6f193594d757 (patch)
treef708c1d7327e39adc9a57ec91768b51423762e7b /internal/client/ui/core/chat/chat.go
parent8001ade3c2e71a60b8209d064a06e5b074def5fe (diff)
Added help popups when pressing "?" to show keybinds in the client
Diffstat (limited to 'internal/client/ui/core/chat/chat.go')
-rw-r--r--internal/client/ui/core/chat/chat.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go
index c650c04..0675230 100644
--- a/internal/client/ui/core/chat/chat.go
+++ b/internal/client/ui/core/chat/chat.go
@@ -1102,3 +1102,7 @@ func (m *Model) renderFrequencyName() string {
return frequencyNameStyle.Render(frequency.Name) + "\n"
}
+
+func (m *Model) Mode() int {
+ return m.vi.Mode()
+}