diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-03-19 21:13:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-03-19 21:13:55 -0700 |
commit | c7d3037e9db38a8391c2e3bc4c93eaaeaf7a6b46 (patch) | |
tree | 9e19b1c1f994f08897c1a5bf9e58ca9d1213d926 /template.tlv | |
parent | fddbe08fc896e09d0fec2773977341d72103ff90 (diff) | |
download | teliva-c7d3037e9db38a8391c2e3bc4c93eaaeaf7a6b46.tar.gz |
graphviz: show topology in multiple lines
Diffstat (limited to 'template.tlv')
-rw-r--r-- | template.tlv | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/template.tlv b/template.tlv index c82d274..586b640 100644 --- a/template.tlv +++ b/template.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() |