about summary refs log tree commit diff stats
path: root/keychord.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-18 18:19:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-18 18:19:27 -0700
commitec410d5223fc7a30f69571d5a7e0bbffc26ede6b (patch)
treedd6f15deec82b2526a4f9084a468b4c8df638a61 /keychord.lua
parentb586c7332e9e270af5b0ea1b801d63f7a6e6c630 (diff)
downloadtext.love-ec410d5223fc7a30f69571d5a7e0bbffc26ede6b.tar.gz
bugfix: ensure Cursor_line is always on a text line
Manual test used here:

  abc
  ```lines
  {"p1":{"y":72,"x":82},"mode":"line","p2":{"y":29,"x":169}}
  ```
  def
  ```lines
  {"p1":{"y":36,"x":56},"mode":"line","p2":{"y":59,"x":163}}
  ```
  ```lines
  ```
  ghi
  jkl

Hitting page-down moves the cursor from abc to ghi. The 'ghi' line
should be fully visible on screen.
Diffstat (limited to 'keychord.lua')
0 files changed, 0 insertions, 0 deletions