Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to have variable typing speed #574

Open
wizardlink opened this issue Jan 17, 2025 · 2 comments
Open

Add a way to have variable typing speed #574

wizardlink opened this issue Jan 17, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@wizardlink
Copy link

Is your feature request related to a problem? Please describe.
I'd like a way of having variable typing speed, a range for the interval between keystrokes, to attempt to make it feel more human.

Describe the solution you'd like
I want to be able to set a variable, i.e. TypingSpeedVaried [250ms, 350ms] and have the Type actions pick a number in that range when waiting before the next input.

Describe alternatives you've considered
You can Sleep before every keystroke, but that is a very tedious process.

Thank you for the amazing tool you've given us by the way!

@wizardlink wizardlink added the enhancement New feature or request label Jan 17, 2025
@J-C-B
Copy link

J-C-B commented Jan 21, 2025

Hi, if you scroll to the bottom of the readme.....

https://github.com/charmbracelet/vhs?tab=readme-ov-file#set-typing-speed

Type something really slowly!
`Type@500ms "Slow down there, partner."`

Also....

Set Typing Speed

Set TypingSpeed 500ms # 500ms
Set TypingSpeed 1s    # 1s

https://github.com/charmbracelet/vhs?tab=readme-ov-file#type

@wizardlink
Copy link
Author

I'm not looking to set a static typing speed for a Type call. What I want here is a way for VHS to change its typing speed for every character it types, within a range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants