jrnxf / fsrx Goto Github PK
View Code? Open in Web Editor NEW๐ flow state reading in the terminal
License: MIT License
๐ flow state reading in the terminal
License: MIT License
Hello,
I started using the project (thank you!) and also packaged it to Arch User Repository
Arch Linux user can simply;
paru -S fsrx-git
Or using any other AUR helper they use. This can be added to the README.md if you'd like.
The -git
tag (sorry if you already know this) says that the package tracks this repository directly. AUR Submission Guidelines says that the fsrx
package can be submitted to AUR when there's an official release on upstream (here). On a potential fsrx
, the AUR package will download the release .tar.gz
(instead of cloning the repository) and build the package using that.
Currently the repository is using prereleases, if you'd like you can start releasing full releases (feedback: as far as I can tell the program is stable and ready for use) and that can be packaged as well
Cheers
Hey, first of all I wanted to thank you for this awesome application.
Secondly, I just wanted to let you know that I recently packaged fsrx
for nix. Perhaps you could add a small note to the README, so other nix users could know that it is packaged and ready to go.
Some terminal themes slightly or greatly obscure the effect.
Hoping to request guidance at least for which settings could help replicate the awesome readme image : )
Examples of color settings, possibly hex codes for font, bold-font, and background for reproducing the readme image.
I've worked out how to use fsrx
to speed up my reading of manpages. However, intermittently, I get an error when closing the pager.
$ echo "$MANPAGER"
col -bx | fsrx | ifne less -R
$ RUST_BACKTRACE="full" man man
thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', library/std/src/io/stdio.rs:1016:9
stack backtrace:
0: 0x10032b60c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha610dc96df5533b5
1: 0x10033dab8 - core::fmt::write::h85a0222d7173f527
2: 0x100318834 - std::io::Write::write_fmt::h1e81e1aae1f60926
3: 0x100320564 - std::panicking::default_hook::{{closure}}::hafcdd34daa6aee47
4: 0x100320228 - std::panicking::default_hook::hbdef0c99978ce86d
5: 0x100320a78 - std::panicking::rust_panic_with_hook::he857adbde651a96b
6: 0x10032bbcc - std::panicking::begin_panic_handler::{{closure}}::h78d4b95de3b3c015
7: 0x10032b720 - std::sys_common::backtrace::__rust_end_short_backtrace::h948efd9d51b5e877
8: 0x100320678 - _rust_begin_unwind
9: 0x10034a1d0 - core::panicking::panic_fmt::h4c391ad4ab25a9e0
10: 0x100312004 - std::io::stdio::_print::hff0a1d2b7e1a5800
11: 0x10026ab8c - fsrx::main::h55fca34d33cf796a
12: 0x10026e77c - std::sys_common::backtrace::__rust_begin_short_backtrace::h389c28ebd38b79bf
13: 0x10026e79c - std::rt::lang_start::{{closure}}::hcd3d64d5e1b5843b
14: 0x100318288 - std::rt::lang_start_internal::h0a14a326db0de5c9
15: 0x10026b72c - _main
$
Everything works as desired except for the error at the end.
fsrx
version: 1.0.2
When the file is provided as an argument, the newlines are handled correctly. But when fsrx
reads from standard input the newlines are stripped away.
$ fsrx .bashrc # as expected
$ cat .bashrc | fsrx # a mess
The newline handling should be consistent between those two methods.
Fixing this would make it possible to use fmt
to reflow incoming text to a managable width, like so:
$ fmt -w 60 long_lines.txt | fsrx | less -R
Right now the newlines created by fmt
are deleted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.