mirror of
https://github.com/neovim/neovim.git
synced 2026-01-14 00:10:33 +10:00
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.