aboutsummaryrefslogtreecommitdiffstats
path: root/src/io/buffer.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/buffer.nim')
-rw-r--r--src/io/buffer.nim6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim
index c25731b7..48bd64d3 100644
--- a/src/io/buffer.nim
+++ b/src/io/buffer.nim
@@ -67,8 +67,7 @@ func generateFullOutput(buffer: Buffer): string =
for cell in buffer.display:
if x >= buffer.width:
- if w < buffer.width:
- result &= EL()
+ result &= EL()
result &= '\n'
x = 0
w = 0
@@ -79,8 +78,7 @@ func generateFullOutput(buffer: Buffer): string =
w += cell.width()
inc x
- if w < buffer.width:
- result &= EL()
+ result &= EL()
result &= '\n'
# generate a sequence of instructions to replace the previous frame with the