qqqqbbpp/yvfm: Minimalistic UNIX file manager for the terminal
Hello everyone I made a simple file navigator, this is my first project written in rust. In the future I plan to make a file manager out of it.
It would be cool if you share your comments on the code or even try to use it yourself!
Congratulations on your first project. At a first glance, it looks like C code but with Rust syntax. This might make it more difficult to understand for someone familiar with Rust, but not C. I would encourage you to rewrite it without any unsafe. Rust's standard library provides a good abstraction for file system operations, which you are already using. There are many libraries for signal handling, but I can't recommend a specific one.
I found one bug: Unlike vifm, your program can't search for ä.
Thanks, I started with crossterm, then termion, and ended up with libc. I didn't have enough control, and in the case of crossterm, I didn't see much point in making the program cross-platform.
Yes, it only reads ASCII for now, but I'll add UNICODE support in the future.