diff options
author | bptato <nincsnevem662@gmail.com> | 2022-11-26 00:00:10 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-11-26 00:00:10 +0100 |
commit | 8e20aaaf7e1e73c27c664c640b49bdf0b6c96757 (patch) | |
tree | 84eb6e707af49d2b09c25346959cd2a6f9d3dd3e /src/utils | |
parent | d54e0258fd794ad54b42acc51ec65d9c7297d908 (diff) | |
download | chawan-8e20aaaf7e1e73c27c664c640b49bdf0b6c96757.tar.gz |
Fix lineedit bugs
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/eprint.nim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/utils/eprint.nim b/src/utils/eprint.nim index 6a76d250..c5936d2a 100644 --- a/src/utils/eprint.nim +++ b/src/utils/eprint.nim @@ -19,16 +19,3 @@ template eprint*(s: varargs[string, `$`]) = {.cast(noSideEffect), cast(tags: []) stderr.write(' ') stderr.write(x) stderr.write('\n') - -template print*(s: varargs[string, `$`]) = - for x in s: - stdout.write(x) - -template printesc*(s: string) = - for r in s.runes: - if r.isControlChar(): - stdout.write(('^' & $($r)[0].getControlLetter()) - .ansiFgColor(fgBlue).ansiStyle(styleBright).ansiReset()) - else: - stdout.write($r) - |