From 7786462a8d70f5931086ce4b0ce027f222aa644b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 9 Feb 2022 23:27:26 -0800 Subject: . --- zet.tlv | 4 ++-- 1 file 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 -- cgit 1.4.1-2-gfad0