summaryrefslogtreecommitdiff
path: root/commands.cpp
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2023-05-26 21:46:19 +1200
committerBossCode45 <human.cyborg42@gmail.com>2023-05-26 21:46:19 +1200
commit27137ec9d29c36df8117869773203b243849896c (patch)
tree8f457bcc0862ecd176f5fc748b06f66e46082a2e /commands.cpp
parentda3b5b2131d2b4ff5cb127e92090fca568376835 (diff)
downloadYATwm-27137ec9d29c36df8117869773203b243849896c.tar.gz
YATwm-27137ec9d29c36df8117869773203b243849896c.zip
feat: Made keybinds work (I hope)
Note: the config file reloading keybinds isn't quite working, though, need to ungrab the keys
Diffstat (limited to 'commands.cpp')
-rw-r--r--commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.cpp b/commands.cpp
index 3e78463..322d160 100644
--- a/commands.cpp
+++ b/commands.cpp
@@ -104,7 +104,7 @@ CommandArg* CommandsModule::getCommandArgs(vector<string>& split, const CommandA
{
case STR: args[i-1].str = (char*)split[i].c_str(); break;
case NUM: args[i-1].num = std::stoi(split[i]); break;
- case DIR: args[i-1].dir = LEFT; break;
+ case MOVDIR: args[i-1].dir = LEFT; break;
case STR_REST:
{
string rest = "";