btop icon indicating copy to clipboard operation
btop copied to clipboard

[REQUEST] Ability to view long command lines

Open vamega opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. It doesn't seem possible at the moment to view the entire command line of extremely long commands. I'm able to see about 345 characters of the command in the info box when I select a command.

This works most of the time, but some commands, especially for interpreted languages like Java can have very long command lines, and I'd like to be able to inspect the command line without having to exit btop to find it with something like ps

Describe the solution you'd like

  1. A pop up modal that has the full command line would work.

Describe alternatives you've considered

  1. https://github.com/aristocratos/btop/issues/346 also seems to identify a solution that would work, but I think that would require the use of OSC52 escape codes, and the use of a terminal that supported those codes. Looking at this page it seems like a number of terminals support OSC52 codes, but many common ones do not.
  2. Query this data outside of btop

Additional context Can provide anything else as needed.

vamega avatar Aug 29 '22 23:08 vamega