mirror of
https://github.com/rclone/rclone.git
synced 2025-07-06 06:27:53 +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:
@ -60,6 +60,9 @@ const (
|
||||
HiMagentaBg = "\x1b[105m"
|
||||
HiCyanBg = "\x1b[106m"
|
||||
HiWhiteBg = "\x1b[107m"
|
||||
|
||||
ChangeTitle = "\033]0;"
|
||||
BEL = "\007"
|
||||
)
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user