source editor: clear logs

[?]
Dec 5, 2022, 11:26 PM
PE7QD5GR2M6YSPSNPKBJ3VRPC5BREL7U7WKQQB5ZRABAAHRTJVFAC

Dependencies

  • [2] MLXDXFO6 isolate some tests from settings
  • [*] KKMFQDR4 editing source code from within the app

Change contents

  • edit in source.lua at line 364
    [2.114]
    [4.176892]
    return
    end
    if chord == 'C-k' then
    -- clear logs
    love.filesystem.remove('log')
    -- restart to reload state of logs on screen
    source.quit()
    load_file_from_source_or_save_directory('main.lua')
    App.undo_initialize()
    App.run_tests_and_initialize()
  • edit in commands.lua at line 26
    [4.205259]
    [4.205259]
    add_hotkey_to_menu('ctrl+k: clear logs')