summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/helppopup.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-07-15 17:33:44 +0300
committerKyren223 <Kyren223@proton.me>2025-07-19 18:32:12 +0300
commit8cee7aa9df589112573e8e9ea7a263a5d2628514 (patch)
tree03cc765871e3db997ed4ee3e4e3c17c327b89630 /internal/client/ui/core/helppopup.go
parent4a8914e05fad386b4ee2ec6a0a4d8d44c75d6a9f (diff)
Fixed terminal background showing in user profile and updated help
popups
Diffstat (limited to 'internal/client/ui/core/helppopup.go')
-rw-r--r--internal/client/ui/core/helppopup.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/internal/client/ui/core/helppopup.go b/internal/client/ui/core/helppopup.go
index 2fbb830..e64c124 100644
--- a/internal/client/ui/core/helppopup.go
+++ b/internal/client/ui/core/helppopup.go
@@ -247,16 +247,20 @@ func (m HelpPopup) HelpChat() [][]Keymap {
{"i", "Start typing a message"},
{"enter", "Snap to bottom and type"},
{"ctrl+q", "Exit typing mode"},
- }, {
+
{"x", "Delete selected message"},
{"e", "Edit selected message"},
-
+ }, {
{"K", "Kick message sender"},
{"M", "Mute message sender"},
{"U", "Unmute message sender"},
- {"B", "Ban message sender"}, // TODO: implement
+ {"B", "Ban message sender"},
{"P", "Promote sender to admin"},
{"D", "Demote sender from admin"},
+ {"b", "Block user"},
+ {"u", "Unblock user"},
+ {"T", "Trust/Untrust user"},
+ {"p", "View user profile"},
}}
}
@@ -269,7 +273,7 @@ func (m HelpPopup) HelpMemberList() [][]Keymap {
{"g", "Move to the top"},
{"G", "Move to the bottom"},
- {"p", "View member profile"}, // TODO: implement
+ {"p", "View member profile"},
{"T", "Trust/untrust member"},
}, {
{"K", "Kick selected member"},
@@ -288,7 +292,7 @@ func (m HelpPopup) HelpVim() [][]Keymap {
{"esc", "Go into normal mode from insert mode"},
{"q", "Exit typing from normal mode"},
{"ctrl+q", "Exit typing from insert mode"},
- {"Other", "The rest of the vim keys work as usual"},
+ {"other", "The rest of the vim keys work as usual"},
}, {}}
}
@@ -301,7 +305,7 @@ func (m HelpPopup) HelpBanList() [][]Keymap {
{"g", "Move to the top"},
{"G", "Move to the bottom"},
}, {
- {"p", "View user profile"}, // TODO: implement
+ {"p", "View user profile"},
{"U", "Unban user"},
{"V", "View ban reason"},
{"b", "Switch to member list view"},