Skip to content

Serial send: Enter key does not include selected line ending (CR/LF) #46

Description

@grbl-IO

Description
When using the Serial send input in the VS Code Teleplot extension, pressing Enter behaves differently from clicking the Send button.

Clicking Send correctly sends text + selected line ending
Pressing Enter sends only the text, ignoring the selected endline (\r\n, \n, etc.)

This makes Enter unreliable for serial devices that require a line ending.

Root cause

Enter handler calls --> v-on:keyup.enter="input.sendText(input.textToSend)"
Send button calls --> input.sendText(input.textToSend, input.endlineToSend)

Fix ..media\index.html Line 301

Image

Result

Enter and Send button behave 1:1 identical

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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