diff --git a/lib/system/io.nim b/lib/system/io.nim index 22059c0a8b..270779272c 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: