bashtop icon indicating copy to clipboard operation
bashtop copied to clipboard

[REQUEST] Custom console command box

Open Memphizzz opened this issue 5 years ago • 2 comments

First of all, thank you for your hard work on bashtop, I'm coming from htop and gotop and very much like this UI and its options.

Is your feature request related to a problem? Please describe. I think it would be great if there was an option to split the process window and show a custom console box for example log file viewer (tail) or a custom script in the lower split. The only neat addition would be to disable word-wrap for that box if that's possible.

Describe the solution you'd like See above.

Describe alternatives you've considered None as there are none.

Additional context This would allow me to have bashtop running full screen and not lose part of the "net" box due to the reduced height.

Thanks again and keep up the great work!

Memphizzz avatar May 03 '20 15:05 Memphizzz

Can't really run any custom commands directly since they would break all output formatting and would have no way of knowing how long the would run, bashtop would be suspended while running.

However reading and printing out a text file would be workable, although would slow down the script a lot if the file is continuously updating.

aristocratos avatar May 03 '20 17:05 aristocratos

I guess the file output would be a nice alternative, this way I would simply pipe the output of the program to /tmp/x and bashtop could read the file in the same interval as the UI updates?

Memphizzz avatar May 04 '20 03:05 Memphizzz