Skip to content

"nvterm.terminal.send" does not work on windows as expected #44

Description

@ywwa

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
image

function ensure_and_send should know whats operating system is currently running and send right character responsively.
if windows => \r else => \n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions