Skip to content

Use swift-displaywidth (renamed)#19

Merged
ainame merged 2 commits intomainfrom
update-swift-displaywidth
Sep 15, 2025
Merged

Use swift-displaywidth (renamed)#19
ainame merged 2 commits intomainfrom
update-swift-displaywidth

Conversation

@ainame
Copy link
Owner

@ainame ainame commented Sep 15, 2025

swift-wcwidth was renamed to swift-displaywidth. It also includes a bug fix.

Copilot AI review requested due to automatic review settings September 15, 2025 00:31
@ainame ainame marked this pull request as ready for review September 15, 2025 00:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the project to use the renamed swift-displaywidth package instead of swift-wcwidth, maintaining the same functionality for text width calculation in table formatting.

  • Replaces swift-wcwidth package dependency with swift-displaywidth
  • Updates import statements and variable names throughout the codebase
  • Maintains all existing functionality while using the new package name

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
Package.swift Updates package dependency from swift-wcwidth to swift-displaywidth with new version
Sources/Command/ListCommand.swift Updates imports and function calls to use DisplayWidth instead of Wcwidth

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ainame ainame enabled auto-merge (squash) September 15, 2025 00:33
@ainame ainame merged commit 88f09b5 into main Sep 15, 2025
1 check passed
@ainame ainame deleted the update-swift-displaywidth branch September 15, 2025 00:33
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.

2 participants