summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-12-30 07:51:17 -0600
committerGitHub <noreply@github.com>2020-12-30 14:51:17 +0100
commit2f4d00fb98beaf6bb2e155e9da7dc7194038b5f3 (patch)
treec8a185adb37b7f4e952babeff17c53a16d508bb7
parent1df0c04a1c273237bef01b520d3c7dd1017b1611 (diff)
downloadNim-2f4d00fb98beaf6bb2e155e9da7dc7194038b5f3.tar.gz
fix #16502 (#16512)
-rw-r--r--lib/system/io.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/io.nim b/lib/system/io.nim
index 22059c0a8..270779272 100644
--- a/lib/system/io.nim
+++ b/lib/system/io.nim
@@ -783,7 +783,7 @@ when declared(stdout):
                      not defined(nintendoswitch) and not defined(freertos) and
                      hostOS != "any"
 
-  const echoDoRaise = not defined(nimLegacyEchoNoRaise) # see PR #16366
+  const echoDoRaise = not defined(nimLegacyEchoNoRaise) and not defined(guiapp) # see PR #16366
 
   template checkErrMaybe(succeeded: bool): untyped =
     if not succeeded: