ugh, handle absolute as well as relative paths

[?]
Jul 1, 2022, 8:55 PM
S7ZZA3YEKYGLBN6UC2N7WGUS43L6MX2KQQ2LBUZT4FQ7K7V5IQGQC

Dependencies

  • [2] WOXIYUTL bugfix: manage screen_top and cursor when resizing
  • [3] DWZK32YD include CWD when saving filename
  • [4] 7M7LS7I2 start saving some settings to disk on quit
  • [*] OTIBCAUJ love2d scaffold
  • [*] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing

Change contents

  • edit in main.lua at line 321
    [4.135]
    [4.135]
    local filename = Filename
    if filename:sub(1,1) ~= '/' then
    filename = love.filesystem.getWorkingDirectory()..'/'..filename -- '/' should work even on Windows
    end
  • replacement in main.lua at line 329
    [3.37][3.37:140]()
    filename=love.filesystem.getWorkingDirectory()..'/'..Filename, -- '/' should work even on Windows
    [3.37]
    [3.140]
    filename=filename,
  • edit in Manual_tests.md at line 26
    [2.1589]
    ### Todo list
    * Initializing settings:
    - from previous session
    - Filename as absolute path
    - Filename as relative path
    - from defaults