diff options
author | bptato <nincsnevem662@gmail.com> | 2022-02-14 23:37:31 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-02-14 23:40:53 +0100 |
commit | 5098a7a162a4cd7a33ed724d9266ed850013e155 (patch) | |
tree | 785f5c548ed72f9408c9356db1858428639918ec /src/io/buffer.nim | |
parent | 051d22b17e4c270f925376824a2307ab65ef5aa5 (diff) | |
download | chawan-5098a7a162a4cd7a33ed724d9266ed850013e155.tar.gz |
Incomplete background-color implementation
Has numerous flaws which will have to be corrected later.
Diffstat (limited to 'src/io/buffer.nim')
-rw-r--r-- | src/io/buffer.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim index f85def2c..85b59620 100644 --- a/src/io/buffer.nim +++ b/src/io/buffer.nim @@ -1055,7 +1055,9 @@ proc drawBuffer*(buffer: Buffer) = print(line.str.substr(x, f.pos - 1)) print(format.processFormat(f.format)) x = f.pos - print(line.str.substr(x, line.str.len) & '\n') + print(line.str.substr(x, line.str.len)) + print(format.processFormat(newFormat())) + print('\n') proc refreshBuffer*(buffer: Buffer) = buffer.title = buffer.getTitle() |