vhs icon indicating copy to clipboard operation
vhs copied to clipboard

Support repeating `Ctrl` commands (i.e. `Ctrl+W@250ms 3`)

Open taminomara opened this issue 1 year ago • 1 comments

Hi! I'm trying to use command Ctrl+W@250ms 3 to delete three words, and I get a parsing error.

Stderr

 19 │ Ctrl+W@250ms 3
            ^ Invalid command: @

 19 │ Ctrl+W@250ms 3
             ^^^ Invalid command: 250

 19 │ Ctrl+W@250ms 3
                ^^ Invalid command: ms

 19 │ Ctrl+W@250ms 3
                   ^ Invalid command: 3

parser: 4 error(s)

It seems that there is no feature to repeat Ctrl keys, so I'd like to request it.

taminomara avatar Jul 10 '23 10:07 taminomara

Hi, thanks for the error report! While we consider this feature a quick solution would be to do something such as:

Ctrl+W Sleep 250ms
Ctrl+W Sleep 250ms
Ctrl+W Sleep 250ms

maaslalani avatar Jul 10 '23 14:07 maaslalani