Skip to content

Fix Enter key omitting the selected serial line ending - #52

Open
CAOShurong wants to merge 1 commit into
nesnes:mainfrom
CAOShurong:agent/fix-enter-line-ending
Open

Fix Enter key omitting the selected serial line ending#52
CAOShurong wants to merge 1 commit into
nesnes:mainfrom
CAOShurong:agent/fix-enter-line-ending

Conversation

@CAOShurong

Copy link
Copy Markdown

Fixes #46.

The issue report by @grbl-IO correctly identified that the Enter handler called sendText with only the text, while the Send button also passed input.endlineToSend. This makes both paths call the same function with the same two arguments, so devices requiring CR, LF, or CRLF receive the configured ending regardless of how the command is submitted.

Validation: the tracked source now has two matching handlers (Enter and Send button) using input.sendText(input.textToSend, input.endlineToSend). The repository does not define an automated test for this static Vue template.

@CAOShurong
CAOShurong marked this pull request as ready for review August 9, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant