Skip to content

wzshiming/playpty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playpty

This is a tool that reads from a file and simulates user input on tty

This is only tested in democtl

Release page

Install

python3 -m pip install playpty

Usage

python3 -m playpty /path/to/file.demo

Built-in command

These are the commands that will not be displayed with running

  • @pause wait press entry
  • @sleep [float] like sleep in shell
  • @typing-interval [float] change the typing interval(default 0.1)

About

Play script in pty

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages