From f3fe06aa027477b2b70b0e98d2cce60dcda82b17 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Wed, 29 Jan 2025 19:33:31 +0800 Subject: [PATCH] man: sync client options --- man/ttyd.1 | 6 ++++++ man/ttyd.man.md | 3 +++ 2 files changed, 9 insertions(+) diff --git a/man/ttyd.1 b/man/ttyd.1 index fee80073..ad327d63 100644 --- a/man/ttyd.1 +++ b/man/ttyd.1 @@ -189,9 +189,15 @@ ttyd has a mechanism to pass server side command-line arguments to the browser p \[la]https://en.wikipedia.org/wiki/Sixel\[ra] image output support (Usage \[la]https://saitoha.github.io/libsixel/\[ra]) .IP \(bu 2 +\fB\fC-t closeOnDisconnect=true\fR: close the terminal on disconnection, this will disable reconnect +.IP \(bu 2 \fB\fC-t titleFixed=hello\fR: set a fixed title for the browser window .IP \(bu 2 \fB\fC-t fontSize=20\fR: change the font size of the terminal +.IP \(bu 2 +\fB\fC-t unicodeVersion=11\fR: set xterm unicode support level (default: 11, use 6 to disable unicode addon) +.IP \(bu 2 +\fB\fC-t trzszDragInitTimeout=3000\fR: set the timeout in milliseconds for initializing drag and drop files to upload. (default: 3000) .RE diff --git a/man/ttyd.man.md b/man/ttyd.man.md index af583ad6..459ae74e 100644 --- a/man/ttyd.man.md +++ b/man/ttyd.man.md @@ -123,8 +123,11 @@ ttyd has a mechanism to pass server side command-line arguments to the browser p - `-t enableZmodem=true`: enable [ZMODEM](https://en.wikipedia.org/wiki/ZMODEM) / [lrzsz](https://ohse.de/uwe/software/lrzsz.html) file transfer support - `-t enableTrzsz=true`: enable [trzsz](https://trzsz.github.io) file transfer support - `-t enableSixel=true`: enable [Sixel](https://en.wikipedia.org/wiki/Sixel) image output support ([Usage](https://saitoha.github.io/libsixel/)) +- `-t closeOnDisconnect=true`: close the terminal on disconnection, this will disable reconnect - `-t titleFixed=hello`: set a fixed title for the browser window - `-t fontSize=20`: change the font size of the terminal +- `-t unicodeVersion=11`: set xterm unicode support level (default: 11, use 6 to disable unicode addon) +- `-t trzszDragInitTimeout=3000`: set the timeout in milliseconds for initializing drag and drop files to upload. (default: 3000) ## Advanced usage