Skip to content

Commit

Permalink
Merge pull request #288 from rpadaki/master
Browse files Browse the repository at this point in the history
Fix -max-width argument to re-enable prompt shrinking
  • Loading branch information
justjanne committed Feb 19, 2021
2 parents b2ccf0a + fb868b3 commit bedd965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func main() {
cfg.ModulesRight = strings.Split(*args.ModulesRight, ",")
case "priority":
cfg.Priority = strings.Split(*args.Priority, ",")
case "max-width-percentage":
case "max-width":
cfg.MaxWidthPercentage = *args.MaxWidthPercentage
case "truncate-segment-width":
cfg.TruncateSegmentWidth = *args.TruncateSegmentWidth
Expand Down

0 comments on commit bedd965

Please sign in to comment.