automatically insert timestamp every time

[?]
Mar 4, 2023, 5:41 PM
2SAJWSNK5BCDDW5P6GFU7BCL45LBATQQS3SYP6PBLTN4DCXICVZQC

Dependencies

  • [2] HHYXYWAF bugfix: write to file 'recent'
  • [3] KKMFQDR4 editing source code from within the app
  • [4] 57OGXVHZ Merge lines.love
  • [5] T4C5HT2O support a commandline arg just like in pensieve.love
  • [*] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing

Change contents

  • replacement in run.lua at line 26
    [3.53][3.35:91](),[3.35][3.35:91]()
    Editor_state.file_path = os.date('%Y/%m/%d/%H-%M-%S')
    [3.53]
    [3.54]
    local t = os.time()
    Editor_state.file_path = os.date('%Y/%m/%d/%H-%M-%S', t)
  • edit in run.lua at line 35
    [2.216]
    [3.164]
    table.insert(Editor_state.lines, 1, {data=os.date('%Y-%m-%d %H:%M:%S', t), mode='text'})
    Editor_state.cursor1 = {line=2, pos=1}
  • edit in Manual_tests.md at line 29
    [3.954]
    [3.211526]
    * Open the window, type nothing, close the window. No new file is created.