Comments (5)
Looking for volunteers... if you can help implement this, I'd welcome the pull request.
from termsaver.
Looking for volunteers... if you can help implement this, I'd welcome the pull request.
Shouldn't be too hard to implement but we'll most likely need a library like keyboard or pyinput as a requirement. What are your feelings about that @brunobraga?
I'm still researching but I don't think we have any input options (without a library) that will passively check for input instead of waiting for input.
from termsaver.
Just to follow up. I was able to implement this pretty easily using a pynput keyboard listener. The only real caveat (other than adding another dependency or two because of pynput) is that it isn't immediate since it has to wait for the next 'tick' of the screen. It's minor, a second or less.
from termsaver.
Awesome find @EddieDover . My approach to this is:
- let's keep the termsaver as simple as possible (as requirements for installation)
- we can recommend in the --help section the additional modules that, if installed, can improve the experience (e.g. colorama, pynput, or larger modules)
Then to implement this you just wrap it (when the function is called, you don't action if the module is not available)... something like that perhaps?
from termsaver.
PR #52 is available for review.
from termsaver.
Related Issues (20)
- How to install a simple plugin? HOT 1
- Add a binary clock HOT 1
- Add ASCII only mode HOT 4
- Auto execute termsaver after a period of time HOT 2
- asciiartfarts - randomization. HOT 1
- command line options together don't work (-hv as opposed to -h -v) HOT 6
- Requesting new screensaver porting from javascript HOT 1
- Can't install on Ubuntu Server 21.04 on raspberry pi 4 HOT 4
- Add option to slow down scroll/typing speed HOT 1
- Unable to install with apt. HOT 2
- Cant install termsaver, issue with setup.py HOT 2
- Unable to install from source HOT 1
- TASK: Add Cursor Show/Hide to Exit-On-Keypress
- Modernize Plugin System
- Broken installing with pip HOT 2
- how to enable the feature pynput? HOT 1
- Colorize the clock
- asciiartfarts is offline HOT 3
- Python 3.12 raises a TypeError in matrix.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termsaver.