diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/display/pager.nim | 2 | ||||
-rw-r--r-- | src/main.nim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/display/pager.nim b/src/display/pager.nim index 6e04f072..0f5a683b 100644 --- a/src/display/pager.nim +++ b/src/display/pager.nim @@ -183,7 +183,7 @@ proc launchPager*(pager: Pager, tty: File) = proc dumpAlerts*(pager: Pager) = for msg in pager.alerts: - eprint "cha: " & msg + stderr.write("cha: " & msg & '\n') proc quit*(pager: Pager, code = 0) = pager.term.quit() diff --git a/src/main.nim b/src/main.nim index 84b57bcf..4cbf3d0d 100644 --- a/src/main.nim +++ b/src/main.nim @@ -40,9 +40,9 @@ Options: -h, --help Print this usage message -v, --version Print version information""" if i == 0: - echo s + stdout.write(s & '\n') else: - eprint s + stderr.write(s & '\n') quit(i) var i = 0 |