aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-11-05 14:11:42 -0500
committerJack Jamison <jackqjamison@gmail.com>2025-11-06 19:45:19 -0500
commit3971f0faeaa5254a5b2145685549e0b78266ba06 (patch)
tree76241fa4cd42a214c33aae1f41d0e39cb7c3112f /config.c
parentd2d5f7c9a78b0e8d186953ff81c52b66b684da9f (diff)
improve keybinds slightly
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index af75475..ea7a962 100644
--- a/config.c
+++ b/config.c
@@ -41,7 +41,7 @@ char* get_conf_path() {
// bool parser
bool parse_bool(const char* value) {
- if (strcasecmp(value, "true") == 0 || strcasecmp(value, "t") == 0 || strcasecmp(value, "yes") == 0) {
+ if (strcasecmp(value, "true") == 0 || strcasecmp(value, "t") == 0 || strcasecmp(value, "yes") == 0 || strcasecmp(value, "on") == 0) {
return true;
} else {
return false;