ACTERT222ETZT5HPYW4XAI2SNEYFRUIZULHUZHWJFHWJGMTHGR4AC
UVJ6OCOEBCOYB53U2OXL4LF6XPADF25XAPTJ5NCO6DLBGLJGXHOQC
PTICQ76Q2AIWGRLUIN6XIQCDSSMQ55SZEYFPZ4FPZ2KWUQYVVL2AC
2CK5QI7WA7M4IVSACFGOJYAIDKRUTZVMMPSFWEJTUNMWTN7AX4NAC
KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC
LXW73CJ3NEH64DDCVSDRRY47K6HUNXIANVWEOXKFTALAOS4FR42AC
OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC
KVHUFUFVOSY6GB4XI2QK4T4WCLIYOV3NZR67TX6AQHAQDWJMEOBQC
7CEOB56DPV2VOG6BCO4YRGTDD3KOHVPAXBAUHO22747DRBKR2ZBQC
APX2PY6GAMJSUH7SFSMBFOQJBSAWLLOCKH4L4ZQP2VLHNEXJPREAC
K2X6G75Z6XBC4DVIRWC5HC7XA3A2SKOM3MWSQTCFEYWIJL7LME2QC
7S6CIN7I56U6DYB2F2LKGA2BDDYY5X7W4P4USZPZP42PFFMCVMNQC
7DYUAOI6WHAP75T2KEGN6CPSASO7B6L6BDE6FQ5ELND7T6X3WO4AC
TGZAJUEFRK3NTCDMPIIG7U2TGLDHK4U3JDNFAYX7NHXTJYBYEZIAC
W7JMT5V2ELDFZG354LUL5AR6IQLIYQUDXBEPDNZ2BEBXDCZLQJTAC
WDMPH4ANFQ4YDIBCKDE5ZSRRNIJFBR5W5CH4VYYFKWS5Q63KHLFAC
return
end
--
if chord == 'C-e' then
-- carefully save settings
if Current_app == 'run' then
local source_settings = Settings.source
Settings = run.settings()
Settings.source = source_settings
if run.quit then run.quit() end
Current_app = 'source'
elseif Current_app == 'source' then
Settings.source = source.settings()
if source.quit then source.quit() end
Current_app = 'run'
else
assert(false, 'unknown app "'..Current_app..'"')
end
Settings.current_app = Current_app
love.filesystem.write('config', json.encode(Settings))
-- reboot
load_file_from_source_or_save_directory('main.lua')
App.undo_initialize()
App.run_tests_and_initialize()
return
edit.run_after_text_input(Editor_state, 'g') -- polygon mode
edit.run_after_text_input(Editor_state, 'p') -- add point
edit.run_after_text_input(Editor_state, 'p') -- add point
edit.run_after_text_input(Editor_state, 'g') -- polygon mode
edit.run_after_text_input(Editor_state, 'p') -- add point
edit.run_after_text_input(Editor_state, 's') -- square mode
edit.run_after_text_input(Editor_state, 'p')
edit.run_after_text_input(Editor_state, 'p')
edit.run_after_text_input(Editor_state, 'g') -- polygon mode
edit.run_after_text_input(Editor_state, 'p') -- add point