about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-11 22:38:08 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-11 22:38:08 +0100
commit304640f7f7443a11753cdcea26926090daa59de0 (patch)
treed88c679ddb84af93f6bfd577345a8cacd9ea6ffb /src/main.nim
parent5931e0a5578852dcd0a7d7820be3012f2132f848 (diff)
downloadchawan-304640f7f7443a11753cdcea26926090daa59de0.tar.gz
Add visual-home, rename undocumented config values
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim
index 22a3bfd2..84b57bcf 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -108,7 +108,7 @@ while i < params.len:
 
 if pages.len == 0 and stdin.isatty():
   if visual:
-    pages.add("about:cha")
+    pages.add(conf.visualhome)
   else:
     let http = getEnv("HTTP_HOME")
     if http != "": pages.add(http)