summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
authorJune McEnroe2022-02-18 23:39:46 -0500
committerJune McEnroe2022-02-18 23:39:46 -0500
commit573bc855a68766f38de2acb48bebc9d0adbf0a1f (patch)
tree18e2ffa24eba70eaf239987e242d21557b73fecb /command.c
parent0036e6e9f093c623f87def43b45cb87efb2823e6 (diff)
Simplify cursor positioning in input
Do some extra work by adding the portion before the cursor to the
input window twice, but simplify the interaction with the split
point. This fixes the awkward behaviour when moving the cursor
across colour codes where the code would be partially interpreted
up to the cursor.
Diffstat (limited to 'command.c')
0 files changed, 0 insertions, 0 deletions