more realism in one more helper

akkartik
Feb 5, 2024, 1:15 AM
6X6C7AS2NEU7WZUASMMSRDP2BHNPEKQEBGQQ7YDH6C2Z46POSVVQC

Dependencies

  • [2] BXJPWVBJ .
  • [3] HXH4AIF2 primitives for writing tests
  • [4] 2CK5QI7W make love event names consistent
  • [5] YTSPVDZH first successful pagedown test, first bug found by test
  • [6] 6E3HVYWF test and App helper for mouse clicks
  • [7] N2NUGNN4 include a brief reference enabling many useful apps
  • [8] VG75U7IM bugfix: typing should delete highlighted text
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • replacement in reference.md at line 419
    [3.585][3.585:689]()
    * `App.run_after_keychord(chord)` -- mimics keystrokes resulting in `chord`
    and then draws one frame.
    [3.585]
    [3.689]
    * `App.run_after_keychord(chord, key)` -- mimics the final `key` press
    resulting in `chord` and then draws one frame.
  • replacement in app.lua at line 368
    [2.100][4.896:935](),[4.896][4.896:935](),[4.935][4.7840:7868](),[4.7868][4.965:990](),[4.965][4.965:990]()
    function App.run_after_keychord(chord)
    App.keychord_press(chord)
    App.keyreleased(chord)
    [2.100]
    [4.710]
    function App.run_after_keychord(chord, key)
    App.keychord_press(chord, key)
    App.keyreleased(key)