akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.21k stars 170 forks source link

newline_chr is optionally user-specified #518

Closed fisher-j closed 9 months ago

fisher-j commented 9 months ago

R on cmd.exe on windows adds an extra newline using the current logic (newline is chosen as: "\r\n"). This proposal makes newline_chr a property of the Terminal, and allows the user to specify it's value when creating custom terminals.