mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #145] [MERGED] Fixing the width of characters whose context is known. #219
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/145
Author: @mum4k
Created: 2/22/2019
Status: ✅ Merged
Merged: 2/22/2019
Merged by: @mum4k
Base:
devel← Head:runewidth📝 Commits (5)
43e15c3A wrapper over the external runewidth package.793925fMigrating all calls to the runewidth wrapper.3b2abceDefining exceptions to the East Asian ambiguous cell width.102e098Updating CHANGELOG.f1a83ecAdding licences.📊 Changes
12 files changed (+275 additions, -9 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
align/align.go(+1 -1)📝
cell/cell.go(+1 -1)➕
cell/runewidth/runewidth.go(+98 -0)➕
cell/runewidth/runewidth_test.go(+166 -0)📝
draw/line_style.go(+1 -1)📝
draw/text.go(+1 -1)📝
widgets/donut/donut.go(+1 -1)📝
widgets/gauge/gauge.go(+1 -1)📝
widgets/sparkline/sparks.go(+1 -1)📝
widgets/text/line_scanner.go(+1 -1)📝
widgets/text/line_trim.go(+1 -1)📄 Description
These are characters used internally by termdash to draw boxes, indicate need to resize or scroll, etc.
Ensuring these are always considered half-width runes, even though they might be ambiguous in some locales.
Fixes #144
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.