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

Pausing/typing whole lines #136

Open
skorokithakis opened this issue Jun 6, 2019 · 1 comment
Open

Pausing/typing whole lines #136

skorokithakis opened this issue Jun 6, 2019 · 1 comment

Comments

@skorokithakis
Copy link

I have two features I think would make doitlive better, but I see something similar is supported, though not documented.

The first feature is typing out a whole line with a key combination. Basically, if I'm at the start of a long line, I can press some combination and have the entire line typed out. I don't think this is currently possible, but also I'm not sure about this feature. I want it for showing presentation "topics" as comments which are too cumbersome to type out, but maybe echoed comments will do.

The second feature is being able to pause and resume the stream. I see that pressing tab will pause, but I get erratic behavior where it will skip the entire line, press enter mid-type and odd things like that? I need it in case I'm in a Python shell and the audience asks me to make changes or so I can take control if something goes wrong, while being able to resume afterwards.

This isn't documented, so I had to discover it in the code. Tab and Ctrl-Z do different things in the code, but in my testing, Ctrl-Z doesn't work (the process just gets backgrounded).

Can you explain a bit about how these are supposed to work, maybe document them, and discuss whether a pausing feature would be acceptable?

@skorokithakis
Copy link
Author

I ended up implementing both of these in a similar utility that works with every program natively (ipython, vim, etc): https://pypi.org/project/itsalive/

This ticket can be closed.

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

No branches or pull requests

1 participant