summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authorHans Raaf <hara@oderwat.de>2016-01-18 18:12:07 +0100
committerHans Raaf <hara@oderwat.de>2016-01-18 18:14:50 +0100
commit063448668934e49fba7d772bb0d5ffdaf702d049 (patch)
tree16a5f94ee51aa6abf7ad98a67be43778c4a1cc6c /lib/impure
parent13c98222df26925938bdb8bb55d9af900cc5a228 (diff)
downloadNim-063448668934e49fba7d772bb0d5ffdaf702d049.tar.gz
Fixed deprecation warnings while Nim compiles.
I just removed unsigned and changed a writeLn() call to writeLine() to
avoid the remaining deprecation warnings.
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/rdstdin.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/rdstdin.nim b/lib/impure/rdstdin.nim
index b373859f4..15137b436 100644
--- a/lib/impure/rdstdin.nim
+++ b/lib/impure/rdstdin.nim
@@ -100,7 +100,7 @@ when defined(Windows):
     stdout.write "\n"
 
 else:
-  import linenoise, termios, unsigned
+  import linenoise, termios
 
   proc readLineFromStdin*(prompt: string): TaintedString {.
                           tags: [ReadIOEffect, WriteIOEffect].} =
id='n139' href='#n139'>139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160