1
0
mirror of https://github.com/rclone/rclone.git synced 2025-07-16 22:42:36 +02:00

cmd: add --progress-terminal-title to print ETA to terminal title

Adds a flag, --progress-terminal-title, that when used with --progress,
will print the string `ETA: %s` to the terminal title.

This also adds WriteTerminalTitle to lib/terminal
This commit is contained in:
LaSombra
2020-10-06 16:34:26 +01:00
committed by GitHub
parent 6dc28ef50a
commit aac2406e19
8 changed files with 33 additions and 0 deletions

View File

@ -107,6 +107,7 @@ type ConfigInfo struct {
StatsOneLineDateFormat string // If we want to customize the prefix
ErrorOnNoTransfer bool // Set appropriate exit code if no files transferred
Progress bool
ProgressTerminalTitle bool
Cookie bool
UseMmap bool
CaCert string // Client Side CA