bf.love/0026-on.keychord_press

7 lines
185 B
Plaintext

on.keychord_press = function(chord, key)
if chord == 'f4' then
eval(editor_to_string(Code.editor), Data)
elseif Cursor then
edit.keychord_press(Cursor.editor, chord, key)
end
end