From 91936b7a50aa098ed4b433a3b7ef313a656fac0d Mon Sep 17 00:00:00 2001 From: Casper Rogild Storm Date: Thu, 29 Jun 2023 22:12:06 +0200 Subject: [PATCH] added mode completion --- src/widget/input/completion.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/widget/input/completion.rs b/src/widget/input/completion.rs index 1c0ca7247..70a67d662 100644 --- a/src/widget/input/completion.rs +++ b/src/widget/input/completion.rs @@ -79,6 +79,23 @@ impl Default for Completion { optional: false, }], }, + Entry { + title: "MODE", + args: vec![ + Arg { + text: "channel", + optional: false, + }, + Arg { + text: "mode", + optional: false, + }, + Arg { + text: "user", + optional: true, + }, + ], + }, ], filtered_entries: vec![], }