]> git.neil.brown.name Git - edlib.git/commit
render-lines: fix vline positioning.
authorNeilBrown <neil@brown.name>
Sat, 1 Jul 2023 00:42:06 +0000 (10:42 +1000)
committerNeilBrown <neil@brown.name>
Sat, 1 Jul 2023 00:42:06 +0000 (10:42 +1000)
commitc0469e3cd24426aa2dc9527b8453d97e335ae4de
treecc2e75e941d90311a4901bd7bc1d6f1b93884a8b
parent2fb6a9126d6d70715eb09e396043388cc0c1b202
render-lines: fix vline positioning.

When we want to position the cursor line precisely, we need
consume_space to consume at most one line each top a bottom else we
might miss the target line.

Also document how find_lines() works with a bit more detail.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
render-lines.c