about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-12-19 13:53:11 +0100
committerbptato <nincsnevem662@gmail.com>2021-12-19 13:53:11 +0100
commit6747131cd3dab85a711f4f96dde92e15e5979c8f (patch)
tree838eaaace84da32897c8c1da3e9e986b3a85a42f /src/main.nim
parent9a3cd69ea8b99b04cb64800b75f4d2aa3e81fc84 (diff)
downloadchawan-6747131cd3dab85a711f4f96dde92e15e5979c8f.tar.gz
Fix pager mode formatting
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.nim b/src/main.nim
index d9d10efa..1bb8cf1e 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -47,6 +47,7 @@ proc main*() =
   var lastUri: Uri
   if paramCount() < 1:
     if not isatty(stdin):
+      buffer.showsource = true
       try:
         while true:
           buffer.source &= stdin.readChar()