aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2023-08-21 11:06:44 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2023-08-25 10:59:56 +0100
commitaf78060b188236cca9ef3479cbab94df56c89721 (patch)
tree20c9fadc26aeb4129b4e299250be70f149659783 /runtime/lua/vim/_system.lua
parentec971288267dece8f1bc492847b3ae6e5271acd0 (diff)
downloadrneovim-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