Comments (8)
Possible switch to crossterm
is blocked by this issue: crossterm-rs/crossterm#81 (I think), since it is important for battop
to handle ←
, →
and ^C
key combinations.
from rust-battop.
Note to myself: blocking PR was closed, nothing should block windows support now.
from rust-battop.
And it is blocked by this PR now: fdehau/tui-rs#150
from rust-battop.
Almost done, blocked only because there is no tui
crate release with the changes from this PR: fdehau/tui-rs#153
from rust-battop.
Hello, just discovered this nice tool!
Is it still blocked? 🙄
from rust-battop.
No, it is not blocked anymore, switch to crossterm
backend for tui
should be done, but I don't really have time to do that now.
PRs are more that welcome!
from rust-battop.
Interesting to the point at which I'm almost willing to give it a try.
What was the whole point, again? Terminal UI library, which is being used now, provides too much capabilities that cannot be replicated on Windows, so devs just gave on supporting it, and thus it fails to even compile? So we need to move on to a less capable library which would support the lowest common denominator of all platforms. Am I getting this right?
from rust-battop.
@ratijas the idea is to pick up terminal UI library, which will provide the same interface (or, at least the almost same) as in the current implementation, while also providing support for at least Linux, macOS and Windows. If it will also support *BSD family, that will be a great bonus.
I'm not aware about current state of termion
crate, but the idea to switch to crossterm
still stands.
Does this answers your question?
from rust-battop.
Related Issues (20)
- Add --version, -v parameter for battery-cli HOT 2
- Build fails with battery crate version < 0.7.5
- RUSTSEC-2021-0119: Out-of-bounds write in nix::unistd::getgrouplist
- RUSTSEC-2020-0071: Potential segfault in the time crate
- RUSTSEC-2020-0159: Potential segfault in `localtime_r` invocations
- RUSTSEC-2022-0006: Data race in `Iter` and `IterMut`
- Showing info from the currently not discharging battery HOT 2
- arm and arm64 binaries HOT 1
- Make colored labels more contrast HOT 2
- Build failing on Fedora 36 HOT 2
- RUSTSEC-2020-0168: mach is unmaintained
- [feature request] allow fractional "delay" time
- Battery temperature not displayed
- RUSTSEC-2023-0049: `tui` is unmaintained; use `ratatui` instead
- ERROR - Unable to find any batteries in system, exiting | Error: NoBatteries HOT 2
- does not compile, `cargo update` fixes it tho HOT 1
- Problems on Linux HOT 6
- battop exits when plugging AC back in HOT 5
- Stack overflow on battery removal HOT 9
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 rust-battop.