summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-01-15 22:47:02 +0100
committerAraq <rumpf_a@web.de>2019-01-15 22:47:21 +0100
commit27e366eaec3389c11889375759e682d70b9cf5b6 (patch)
tree474ad54e1f6e136e4425efc17d4cdc5ba23a7b47 /lib/pure
parent795e5e11ef53260a0a15e25eba36dddbd83900c1 (diff)
downloadNim-27e366eaec3389c11889375759e682d70b9cf5b6.tar.gz
fixes #8294 [backport]
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/terminal.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/terminal.nim b/lib/pure/terminal.nim
index 35dc2483c..2b3c08d0d 100644
--- a/lib/pure/terminal.nim
+++ b/lib/pure/terminal.nim
@@ -37,7 +37,7 @@ type
 
 var gTerm {.threadvar.}: PTerminal
 
-proc newTerminal(): PTerminal
+proc newTerminal(): PTerminal {.gcsafe.}
 
 proc getTerminal(): PTerminal {.inline.} =
   if isNil(gTerm):