justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go
GNU General Public License v3.0
2.73k stars 268 forks source link

Use (partially) condensed in shrinking subsystem #344

Open CWempe opened 2 years ago

CWempe commented 2 years ago

Is your feature request related to a problem? Please describe. I want to save space in my shell.

Describe the solution you'd like When the -max-width is reached the -condensed mode could be used before the modules get stripped away. Maybe partially first, then fully condensed. And only if that does not help enough, the modules should get stripped away.

This could be implemented in the -priority option by the keywords condensed-first and condensed-last (or first-space and last-space). So the user can define wich spaces should get deleted and in what order.

Describe alternatives you've considered none

Additional context none