about summary refs log tree commit diff stats
path: root/src/io
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-11-23 13:47:50 +0100
committerbptato <nincsnevem662@gmail.com>2021-11-23 13:56:53 +0100
commitfbac38a0b0ce15954f8ba441a7a1adfb67dd8a80 (patch)
tree27b1541b043f3d3a79de7818091d6e7d25c707f4 /src/io
parent820d64f453829691013bc83be73ca36a1a5673bd (diff)
downloadchawan-fbac38a0b0ce15954f8ba441a7a1adfb67dd8a80.tar.gz
Allow matching root element, write last buffer display line instantly
Diffstat (limited to 'src/io')
-rw-r--r--src/io/buffer.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim
index 63b7c128..b585dfce 100644
--- a/src/io/buffer.nim
+++ b/src/io/buffer.nim
@@ -72,6 +72,7 @@ func generateFullOutput*(buffer: Buffer): string =
     inc x
 
   result &= EL()
+  result &= '\n'
 
 # generate a sequence of instructions to replace the previous frame with the
 # current one. ideally should be used when small changes are made (e.g. hover