diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2023-08-21 11:06:44 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2023-08-25 10:59:56 +0100 |
commit | af78060b188236cca9ef3479cbab94df56c89721 (patch) | |
tree | 20c9fadc26aeb4129b4e299250be70f149659783 /runtime/lua/vim/_system.lua | |
parent | ec971288267dece8f1bc492847b3ae6e5271acd0 (diff) | |
download | rneovim-af78060b188236cca9ef3479cbab94df56c89721.tar.gz rneovim-af78060b188236cca9ef3479cbab94df56c89721.tar.bz2 rneovim-af78060b188236cca9ef3479cbab94df56c89721.zip |
fix(termdebug): trim suffixed "\r" in CommOutput
Vim splits lines on "\r", then trims any prefixed "\n".
But in Nvim, job output lines are split on "\n" (like readfile() in binary
mode), so trim any suffixed "\r" instead.
This gets rid of the trailing "^M" character in messages parsed from the jobs.
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions