Skip to content

Use display widths for paging and vertical output - #273

Open
Rajvira10 wants to merge 1 commit into
dbcli:mainfrom
Rajvira10:fix/terminal-display-width
Open

Rajvira10 wants to merge 1 commit into
dbcli:mainfrom
Rajvira10:fix/terminal-display-width

Conversation

@Rajvira10

Copy link
Copy Markdown

Description

ANSI colors, CJK text and combining marks cause incorrect paging and automatic vertical-output decisions. Measure visible terminal widths instead of string lengths. References #94 and #95.

Six new regression cases fail before the fix; 17 selected output tests and the pinned Ruff style workflow pass.

Checklist

  • I've added this contribution to the CHANGELOG.md file.

@Rajvira10
Rajvira10 marked this pull request as ready for review October 16, 2026 17:46

This branch has not been deployed

No deployments
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.

1 participant