lucc / nvimpager

Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
Other
395 stars 21 forks source link

hide CSI K sequences #83

Closed bqv closed 1 year ago

bqv commented 1 year ago

RE: https://github.com/lucc/nvimpager/commit/87b9742abbf95cd60bd8c6e899b71fc2cdf25470#r97589890

I've no idea how to implement line clearing here, so this just hides the exposed escape sequences

lucc commented 1 year ago

@bqv you got the sequence wrong in your regex, the argument is in front of the K not afterwards. I took the liberty to use another commit I had lying around.