S4U35JJQWC3CBNKHAEZ2DYEGUT5L3UYVAO6PJ5R7HSTD53KWVAXQC
-- hotkeys operating on the cursor pane
local pane = Surface[Cursor_pane.col][Cursor_pane.row]
if chord == 'C-x' then
pane.show_cursor = not pane.show_cursor
if pane.show_cursor == false then
edit.quit(pane) -- save
refresh_panes(pane)
end
return
end
if pane.show_cursor then
return edit.keychord_pressed(pane, chord, key)
else
keychord_pressed_on_immutable_pane(pane, chord, key)
end
end
function keychord_pressed_on_immutable_pane(pane, chord, key)
end
end
-- hotkeys operating on the cursor pane
local pane = Surface[Cursor_pane.col][Cursor_pane.row]
if chord == 'C-x' then
pane.show_cursor = not pane.show_cursor
if pane.show_cursor == false then
edit.quit(pane) -- save
refresh_panes(pane)