diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-02-09 23:27:26 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-02-09 23:27:26 -0800 |
commit | 7786462a8d70f5931086ce4b0ce027f222aa644b (patch) | |
tree | cca56bcb6329b600cfaf5953c6dcf25c660cfcb3 | |
parent | 38b15e808649386fdd1996b3ce7fd6bbe83c52cf (diff) | |
download | teliva-7786462a8d70f5931086ce4b0ce027f222aa644b.tar.gz |
.
-rw-r--r-- | zet.tlv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zet.tlv b/zet.tlv index c0e92fc..5c47136 100644 --- a/zet.tlv +++ b/zet.tlv @@ -321,9 +321,7 @@ > end > -- > elseif key == 5 then -- ctrl-e - > local old_menu = menu > editz(window) - > menu = old_menu > end >end - __teliva_timestamp: original @@ -828,6 +826,7 @@ >Wed Feb 9 08:25:05 2022 editz: >function editz() + > local old_menu = menu > menu = { {'^e', 'back to browsing'},} > local top = (render_state.curr_h - 1) * (view_settings.height + view_settings.vmargin) > local bottom = top + view_settings.height @@ -841,6 +840,7 @@ > quit, zettels[current_zettel_id].data, cursor = editz_update(window, zettels[current_zettel_id].data, cursor) > end > curses.curs_set(0) + > menu = old_menu >end - __teliva_timestamp: >Wed Feb 9 08:28:13 2022 |