diff options
author | Araq <rumpf_a@web.de> | 2018-02-26 20:48:23 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-02-26 20:48:23 +0100 |
commit | c3d544221b2385231c0776b317bcefa4a3420e2c (patch) | |
tree | 4774af987e6efa160d1ffbaf8c5057ddfc0c82af /lib/pure/terminal.nim | |
parent | ac6d9a307909d664fd335fdd13ebbcf16779a65f (diff) | |
parent | 3bf1ce008f67e8bb5b91c5b83b7a00f6427a0639 (diff) | |
download | Nim-c3d544221b2385231c0776b317bcefa4a3420e2c.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'lib/pure/terminal.nim')
-rw-r--r-- | lib/pure/terminal.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/terminal.nim b/lib/pure/terminal.nim index 032d3360f..6ed04c0d8 100644 --- a/lib/pure/terminal.nim +++ b/lib/pure/terminal.nim @@ -372,7 +372,7 @@ proc cursorForward*(f: File, count=1) = inc(p.x, count) setCursorPos(h, p.x, p.y) else: - f.write("{stylePrefix}{count}C") + f.write(fmt"{stylePrefix}{count}C") proc cursorBackward*(f: File, count=1) = ## Moves the cursor backward by `count` columns. @@ -382,7 +382,7 @@ proc cursorBackward*(f: File, count=1) = dec(p.x, count) setCursorPos(h, p.x, p.y) else: - f.write("{stylePrefix}{count}D") + f.write(fmt"{stylePrefix}{count}D") when true: discard |