Skip to content

Commit f3fe06a

Browse files
committed
man: sync client options
1 parent 9c87671 commit f3fe06a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

man/ttyd.1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,15 @@ ttyd has a mechanism to pass server side command-line arguments to the browser p
189189
\[la]https://en.wikipedia.org/wiki/Sixel\[ra] image output support (Usage
190190
\[la]https://saitoha.github.io/libsixel/\[ra])
191191
.IP \(bu 2
192+
\fB\fC-t closeOnDisconnect=true\fR: close the terminal on disconnection, this will disable reconnect
193+
.IP \(bu 2
192194
\fB\fC-t titleFixed=hello\fR: set a fixed title for the browser window
193195
.IP \(bu 2
194196
\fB\fC-t fontSize=20\fR: change the font size of the terminal
197+
.IP \(bu 2
198+
\fB\fC-t unicodeVersion=11\fR: set xterm unicode support level (default: 11, use 6 to disable unicode addon)
199+
.IP \(bu 2
200+
\fB\fC-t trzszDragInitTimeout=3000\fR: set the timeout in milliseconds for initializing drag and drop files to upload. (default: 3000)
195201

196202
.RE
197203

man/ttyd.man.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,11 @@ ttyd has a mechanism to pass server side command-line arguments to the browser p
123123
- `-t enableZmodem=true`: enable [ZMODEM](https://en.wikipedia.org/wiki/ZMODEM) / [lrzsz](https://ohse.de/uwe/software/lrzsz.html) file transfer support
124124
- `-t enableTrzsz=true`: enable [trzsz](https://trzsz.github.io) file transfer support
125125
- `-t enableSixel=true`: enable [Sixel](https://en.wikipedia.org/wiki/Sixel) image output support ([Usage](https://saitoha.github.io/libsixel/))
126+
- `-t closeOnDisconnect=true`: close the terminal on disconnection, this will disable reconnect
126127
- `-t titleFixed=hello`: set a fixed title for the browser window
127128
- `-t fontSize=20`: change the font size of the terminal
129+
- `-t unicodeVersion=11`: set xterm unicode support level (default: 11, use 6 to disable unicode addon)
130+
- `-t trzszDragInitTimeout=3000`: set the timeout in milliseconds for initializing drag and drop files to upload. (default: 3000)
128131

129132
## Advanced usage
130133

0 commit comments

Comments
 (0)