"nvterm.terminal.send" does not work on windows as expected
ywwa opened this issue · comments
Gabriels commented
because \n
character is hardcoded, it does not work on windows at it should.
https://github.com/NvChad/nvterm/blob/5ae78fb332e92447121d2af58a6313189a7799fb/lua/nvterm/terminal.lua#LL62C42-L62C42
at the moment. when you send command to terminal it just sends command and waits to be sent
function ensure_and_send should know whats operating system is currently running and send right character responsively.
if windows => \r else => \n