about summary refs log tree commit diff stats
path: root/break.tlv
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-19 21:13:55 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-03-19 21:13:55 -0700
commitc7d3037e9db38a8391c2e3bc4c93eaaeaf7a6b46 (patch)
tree9e19b1c1f994f08897c1a5bf9e58ca9d1213d926 /break.tlv
parentfddbe08fc896e09d0fec2773977341d72103ff90 (diff)
downloadteliva-c7d3037e9db38a8391c2e3bc4c93eaaeaf7a6b46.tar.gz
graphviz: show topology in multiple lines
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()