summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-07-20 14:39:27 +0200
committerGitHub <noreply@github.com>2020-07-20 14:39:27 +0200
commit70acba7f0d4d73bce941dbd067a00255426bc697 (patch)
treef4a7c16b731c88974e04be7e1dbe756a7eb3046d /lib/system.nim
parent49d4b50fe52f0e961ef367a44be8b1bd79994a03 (diff)
parent41c97e4b70d8d3b67f9080939790c6b9a64a7e74 (diff)
downloadNim-70acba7f0d4d73bce941dbd067a00255426bc697.tar.gz
readLine: Unicode support for Windows console (#14782)
* readLine: Unicode support for Windows console

When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8.

* readLine: Remove recursive imports

* readLine: Fix issues with --gc:arc

**--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**.
Also an empty string should be returned in case of EOF.
Diffstat (limited to 'lib/system.nim')
0 files changed, 0 insertions, 0 deletions