Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Allow end of line to be send using Send Text to Serial Port #409

Closed
mlewand opened this issue Sep 10, 2017 · 3 comments
Closed

Allow end of line to be send using Send Text to Serial Port #409

mlewand opened this issue Sep 10, 2017 · 3 comments

Comments

@mlewand
Copy link

mlewand commented Sep 10, 2017

Currently there's no way to insert \n char to the Serial port, even if copied and pasted from external source VSCode builtin input will strip it.

Sometimes it's a handy to terminate strings using eol.

@RyanBlace
Copy link

Ideally 5 options:

  1. Send nothing
  2. Send \n (LF)
  3. Send \r (CR)
  4. Send \r\n (CR & LF)
  5. Something even cooler but we can't think of it right now.

image

@mlewand
Copy link
Author

mlewand commented Dec 20, 2017

Ideally I'd like be able simply to input \n or \r char(s) into the input that is used to collect about-to-be-sent data.

Your suggestion AFAICS is related to being able to set character that serial input should be followed with, which is slightly different. It will allow you to put new lines, but will require you to put each single line separately.

Whereas having the input element that works with new lines, you can put multiline content before you actually send it.

@liydu
Copy link

liydu commented Feb 9, 2018

Duplicated with #463 as a feature request.

@liydu liydu closed this as completed Feb 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants