Commit f843a4ba authored by Adam Saponara's avatar Adam Saponara
Browse files

apply viewport_x if vwidth gte bview width

previously the condition was vwidth gt bview width. this broke in the
very specific scenario when a line was exactly as wide as the bview
with soft-wrap disabled. if you invoked `cmd_move_eol` on this line,
we would detect that the cursor is off screen and skip
`tb_set_cursor`, however viewport_x also would not apply, so the
cursor would be invisible. making viewport_x apply in the gte case
fixes this.
parent 1ce45563
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment