diff options
author | bptato <nincsnevem662@gmail.com> | 2023-01-05 02:01:23 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-01-05 02:01:48 +0100 |
commit | dcc5e065f990561eaa45d75ecb69f0a51dbf2c49 (patch) | |
tree | c281c6614acf1dd3b7edb1edc25d09e5c23ce2e8 /src/display | |
parent | c0ccab9264ed99e75ee42197eed8af7e77e023f5 (diff) | |
download | chawan-dcc5e065f990561eaa45d75ecb69f0a51dbf2c49.tar.gz |
Get rid of eprint in place of stderr.write
eprint should only be used for debugging.
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/pager.nim | 2 |
1 files changed, 1 insertions, 1 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() |