From 6a13388cafafcada224b4caabb9f6f193594d757 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 24 Jan 2025 21:33:44 +0200 Subject: Added help popups when pressing "?" to show keybinds in the client --- internal/client/ui/core/chat/chat.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/client/ui/core/chat') 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() +} -- cgit v1.3.1