From 387cf24e389854ecc97f6236fdd6acbc2486dd52 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 15 Mar 2025 19:17:03 +0530 Subject: Replaced QCompleter with custom implementation --- include/completion/CommandsModel.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/completion/CommandsModel.hpp') diff --git a/include/completion/CommandsModel.hpp b/include/completion/CommandsModel.hpp index 28836fe..4f64654 100644 --- a/include/completion/CommandsModel.hpp +++ b/include/completion/CommandsModel.hpp @@ -9,11 +9,13 @@ struct Command { QString description; }; +// TODO: Combine commands model completion and commands evaluation const QList commands = { - {.name = "open", .description = "Open a url in the current tab"}, + {.name = "open", .description = "Update current URL"}, + {.name = "tabs", .description = "Select a tab"}, {.name = "tabopen", .description = "Open a url in a new tab"}, {.name = "tabnext", .description = "Go to next tab"}, - {.name = "tabbprev", .description = "Go to previous tab"}, + {.name = "tabprev", .description = "Go to previous tab"}, }; class CommandsModel : public QAbstractListModel { -- cgit v1.3.1