2019-11-25 11:34:35 +03:00
|
|
|
## Serial Ports
|
|
|
|
|
|
|
|
wezterm can also connect to serial ports as a client. This is useful
|
|
|
|
for example when working with embedded devices such as Arduino, or
|
|
|
|
when connecting to a serial console on a headless server.
|
|
|
|
|
|
|
|
For example, on Linux:
|
|
|
|
|
2020-04-07 02:32:16 +03:00
|
|
|
```bash
|
2019-11-25 11:34:35 +03:00
|
|
|
$ wezterm serial /dev/ttyUSB0
|
|
|
|
```
|
|
|
|
|
|
|
|
or on Windows:
|
|
|
|
|
2020-04-07 02:32:16 +03:00
|
|
|
```bash
|
2019-11-25 11:34:35 +03:00
|
|
|
$ wezterm serial COM0
|
|
|
|
```
|
|
|
|
|
|
|
|
You can also specify the baud rate:
|
|
|
|
|
2020-04-07 02:32:16 +03:00
|
|
|
```bash
|
2019-11-25 11:34:35 +03:00
|
|
|
$ wezterm serial --baud 38400 /dev/ttyUSB0
|
|
|
|
```
|
|
|
|
|
|
|
|
When a wezterm window is operating in serial mode it is not possible to create
|
|
|
|
new tabs.
|