justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use (partially) condensed in shrinking subsystem

CWempe opened this issue · comments

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