Mole icon indicating copy to clipboard operation
Mole copied to clipboard

Expose more characters in paths in mo purge selection

Open TyceHerrman opened this issue 8 months ago • 2 comments

Feature description

Right now it seems like paths up to about 36 characters are shown. for paths longer than that (or whatever the limit is), it gets cut off to 17 characters including ...

Use case

For long paths, cant tell what the the project actually is.

Proposed solution

would be great to have that cut off occur after max characters-3 characters (to leave space for ...)

Additional context

Add any other context, mockups, or examples about the feature request here.

Image

TyceHerrman avatar Mar 13 '26 17:03 TyceHerrman

Hey, @TyceHerrman thanks for reporting this. 👍 I'd love to work on this, since I'm a big fan of Mole. May I pick this up and open a PR, @tw93 ? Best regards

dataCenter430 avatar Mar 13 '26 19:03 dataCenter430

@TyceHerrman Thanks for the feedback! 👍 This issue has been fixed in ea37d3e. Root cause: the path column width had a hard-coded 60-character upper limit, causing long paths to be overly truncated even in wide terminals.

You can try updating to the latest version like this. mo clean --nightly

@dataCenter430 Thank you very much; next time you spot an issue, please submit a PR directly so I can have you fix it.

tw93 avatar Mar 13 '26 23:03 tw93