From 27137ec9d29c36df8117869773203b243849896c Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Fri, 26 May 2023 21:46:19 +1200 Subject: feat: Made keybinds work (I hope) Note: the config file reloading keybinds isn't quite working, though, need to ungrab the keys --- error.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'error.h') diff --git a/error.h b/error.h index 630fc7f..f0a67a5 100644 --- a/error.h +++ b/error.h @@ -17,5 +17,10 @@ typedef unsigned int ErrCode; struct Err { ErrCode code; - std::string errorMessage; + std::string message; + Err(ErrCode code, std::string message) + { + this->code = code; + this->message = message; + } }; -- cgit v1.2.3