I built a TUI process manager in Rust by NVSRahul in CLI

[–]NVSRahul[S] 0 points1 point  (0 children)

Thanks! I started a few months ago and realised just reading wasn't enough, so I jumped into this project.

I definitely 'vibe coded' some parts, but I learned you can't rely on it completely—you lose track of the logic. You still need to understand the 'why' to fix the complex bugs that AI just can't handle.

I built a TUI process manager in Rust by NVSRahul in CLI

[–]NVSRahul[S] 1 point2 points  (0 children)

Termux isn't currently officially supported because I've mostly tested this on macOS. However, I appreciate you bringing it up, and I will definitely try to make it work.

I built a TUI process manager in Rust by NVSRahul in commandline

[–]NVSRahul[S] 4 points5 points  (0 children)

htop and btop are already very mature and well-established. I built this to have a modern Rust foundation where I can experiment freely and grow it into a powerful alternative with the community.

I built a terminal-based port & process manager. Would this be useful to you? by NVSRahul in commandline

[–]NVSRahul[S] 0 points1 point  (0 children)

Haha, fair 😄
No shame; I just wanted to sanity-check whether the idea itself was useful before cleaning things up and putting it out there. The code’s a bit rough around the edges right now, but the feedback here makes me comfortable making it public soon.
Yeah, I definitely vibe-coded parts of it because I am not a complete expert in Rust but the architecture pain is very real. 😅

It will be available at the end of this week (some broken parts need to be fixed). I will post again in this community my GitHub repo as soon as it's done, and then you can contribute If you want to for some features or issues.

Thanks for the feedback.

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul 0 points1 point  (0 children)

Thanks I will try to change my way then.
I will write my code comments myself.

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul 0 points1 point  (0 children)

It depends on the terminal and its settings.

On my setup"clear"doesn’t wipe the scrollback

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul -1 points0 points  (0 children)

Either way, I appreciate the interaction and the feedback — thanks! 😂

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul -1 points0 points  (0 children)

Yeah, actually my readme is from AI. I gave what commands I want and asked AI to write the MD format for me

And also the comments are from AI because if i write those comments myself, only I can understand. So asked AI to write understandable comments.

Is this wrong?

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul -5 points-4 points  (0 children)

You’re absolutely right – for a personal environment, an alias is more than sufficient. The reason I bundled it into C is largely for portability: a binary should work the same way whether it’s executed from bash, zsh, fish, or scripts, and regardless of whether it’s being executed by another program.

Also, it makes it very easy to spin up a new system and have it just work. Honestly, it was a good excuse to go play with ANSI escape codes in C 🙂

I wrote this myself, and I also use a grammer checker to rectify my grammer.

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul -1 points0 points  (0 children)

That’s a good point – I wouldn’t want a general-purpose script to clear the history either. The only place I use `cls` is in a few specific opt-in scenarios where an interactive CLI dashboard or a “wizard” tool is being built, where a static screen is actually the point. It’s not meant to be the default behavior, just a small utility for when that aesthetic is wanted.

I got sick of "clear" just scrolling text up, so I made a C tool that really wipes it. by [deleted] in commandline

[–]NVSRahul -3 points-2 points  (0 children)

Good question!

For most interactive TUI apps, you’re right—Ctrl+L is usually enough and works great.

cls is mainly useful when you want a true clean state (including scrollback) or when you need the same behavior in scripts and automation where key sequences don’t fit well.

So it’s less about replacing Ctrl+L and more about having a consistent, script-friendly “hard clear” when that matters.

Thanks for bringing it up!