aboutsummaryrefslogtreecommitdiff
path: root/src/CommandParser.cpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-12 20:47:57 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-12 21:06:52 +0530
commit05ae8976a8e1ab5411058de244c4e2fcc87ec369 (patch)
treecb3661ed66b9aeb6b78818228d4ec4785dbf27e1 /src/CommandParser.cpp
parentd46cf6e12452261c6aaf498dddf8e1176d349d6e (diff)
downloadnull-browser-05ae8976a8e1ab5411058de244c4e2fcc87ec369.tar.gz
null-browser-05ae8976a8e1ab5411058de244c4e2fcc87ec369.zip
Refactor MainWindow into InputMediator
Diffstat (limited to 'src/CommandParser.cpp')
-rw-r--r--src/CommandParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandParser.cpp b/src/CommandParser.cpp
index 8f83575..773d37c 100644
--- a/src/CommandParser.cpp
+++ b/src/CommandParser.cpp
@@ -26,9 +26,9 @@ CommandType CommandParser::toCommandType(QString cmd) {
return Open;
if (cmd == "tabopen")
return TabOpen;
- if (cmd == "bn" || cmd == "bnext")
+ if (cmd == "tn" || cmd == "tabnext")
return TabNext;
- if (cmd == "bp" || cmd == "bprevious")
+ if (cmd == "tp" || cmd == "tabprev")
return TabPrev;
return Noop;