PTS listing or custom port support
Opened this issue · 1 comments
Twistedsnail commented
It would be really helpful if we could list /dev/pts/X
ports. They support the same interface and would be easy to implement.
Another option to quickly achieve this is allowing the user to specify the port (just a text input?)
For more advanced users you could also add a port glob setting, maybe defaulting to:
^\/dev\/tty(USB|S|ACM)\d+$
on linux^COM\d+$
on windows.
That way the user can filter their options (and add other ports not currently included).
For reference, my use-case is:
- Embedded project with a USB serial port
- Native/simulator project that uses the same code, but replaces the USB with a pseudo-terminal instead
This allows the embedded and native projects to behave nearly identically and is very helpful vs stdin.
gcampbell-msft commented
@Twistedsnail Thanks for the feature request! We've taken note of this and will add it to the backlog.