about summary refs log tree commit diff stats
path: root/break.tlv
diff options
context:
space:
mode:
Diffstat (limited to 'break.tlv')
-rw-r--r--break.tlv11
1 files changed, 11 insertions, 0 deletions
diff --git a/break.tlv b/break.tlv
index b57176f..34cbe78 100644
--- a/break.tlv
+++ b/break.tlv
@@ -581,6 +581,17 @@
     >  end
     >end
 - __teliva_timestamp: original
+  sep:
+    >-- horizontal separator
+    >function sep(window)
+    >  local y, _ = window:getyx()
+    >  window:mvaddstr(y+1, 0, '')
+    >  local _, cols = window:getmaxyx()
+    >  for col=1,cols do
+    >    window:addstr('_')
+    >  end
+    >end
+- __teliva_timestamp: original
   render:
     >function render(window)
     >  window:clear()