2019-11-25 11:34:35 +03:00
|
|
|
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:
|
|
|
|
|
2023-03-16 06:54:02 +03:00
|
|
|
```console
|
2019-11-25 11:34:35 +03:00
|
|
|
$ wezterm serial /dev/ttyUSB0
|
|
|
|
```
|
|
|
|
|
|
|
|
or on Windows:
|
|
|
|
|
2023-03-16 06:54:02 +03:00
|
|
|
```console
|
2019-11-25 11:34:35 +03:00
|
|
|
$ wezterm serial COM0
|
|
|
|
```
|
|
|
|
|
|
|
|
You can also specify the baud rate:
|
|
|
|
|
2023-03-16 06:54:02 +03:00
|
|
|
```console
|
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.
|