Skip to content

Conversation

@hadley
Copy link
Member

@hadley hadley commented Jan 18, 2022

And flip str_pad() argument from use_length to use_width so that the default can be positive.

Fixes #380

And flip str_pad() argument from use_length to use_width so that the default can be positive.

Fixes #380
@hadley hadley changed the title Implement str_width() Implement str_width() Jan 18, 2022
Copy link
Member

@yutannihilation yutannihilation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! use_width is better than my use_length, thanks for the improvement.

@hadley hadley merged commit bd4796d into main Jan 20, 2022
@hadley hadley deleted the width branch January 20, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement str_width

3 participants