Unverified Commit fb684535 authored by Adam Saponara's avatar Adam Saponara
Browse files

only use viewport_x when vwidth is gt buffer width

previously if you cursored to the end of a long line (with softwrap
off), we'd set `viewport_x` and subsequently apply it even for short
lines narrower than buffer rect width. now we only apply `viewport_x`
when necessary.
parent 6a7787c0
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