diff options
author | bptato <nincsnevem662@gmail.com> | 2021-08-06 17:15:17 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-08-06 17:15:17 +0200 |
commit | 6d50a0f7d1af3da77fcea7290ac02a43e8f454e4 (patch) | |
tree | d5f61a0c533d535908e4b224774dcc9378b05bf4 /src/main.nim | |
parent | b94597a68eb8572cf8f521ee9c39cc7d9d310827 (diff) | |
download | chawan-6d50a0f7d1af3da77fcea7290ac02a43e8f454e4.tar.gz |
Config refactoring, width aware cursor movement
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.nim b/src/main.nim index 78d24e8d..8394b5ab 100644 --- a/src/main.nim +++ b/src/main.nim @@ -42,9 +42,7 @@ proc main*() = if paramCount() != 1: eprint "Invalid parameters. Usage:\ntwt <url>" quit(1) - if not readConfig("res/config"): - #eprint "Failed to read keymap, fallback to default" - discard + readConfig() let attrs = getTermAttributes() let buffer = newBuffer(attrs) let uri = parseUri(paramStr(1)) |