about summary refs log tree commit diff stats
path: root/termbox
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-06-08 10:16:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-06-08 10:16:32 -0700
commit46824f3ee296778a40ed6ee1864928f587d35f82 (patch)
tree1fffecc0840b3d410aab6c9d4aef472939190603 /termbox
parentb9a78a84cfee93db9f5bc59dfda135f43e38a9b3 (diff)
downloadmu-46824f3ee296778a40ed6ee1864928f587d35f82.tar.gz
3038 - track down a long-standing bug
In some rare situations the editor would join a line with the next when
it should simply wrap to the next screen row. Thanks Caleb and Ella
Couch for finally running into a situation that was easy to reproduce.

The scenario diffs are misleading on this commit. I had to:

a) delete the obsolete 'editor-wraps-cursor-after-inserting-characters'
because it was written back when a line just large enough to fit in a
single line would not wrap:

   |     |  <-- screen boundary
    abcde

These days it will wrap after making room for the wrap indicator:

   |     |  <-- screen boundary
    abcd↩
    e

b) rename editor-wraps-cursor-after-inserting-characters-2 to
editor-wraps-cursor-after-inserting-characters-in-middle-of-line

c) create a new scenario demonstrating the bug:
editor-wraps-cursor-after-inserting-characters-at-end-of-line
Diffstat (limited to 'termbox')
0 files changed, 0 insertions, 0 deletions