mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #38] [MERGED] Adds full-width rune support. #172
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#172
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/38
Author: @mum4k
Created: 5/20/2018
Status: ✅ Merged
Merged: 6/4/2018
Merged by: @mum4k
Base:
master← Head:text-widget/6/wide-runes📝 Commits (9)
0049acbFull-width rune support in the cell buffer.bb0e4b9Move SetCell logic from faketerm to cell buffer.ba2cb94Full-width rune support in the canvas.c2dab55The draw package now supports full-width runes.929bf2bThe text widget now supports full-width runes.7104472Adding the text widget to the main README.367af3fMerge branch 'text-widget/5/widget' into text-widget/6/wide-runes1c17cb3Updated doc as per comment.5fd79c5Merge branch 'master' into text-widget/6/wide-runes📊 Changes
20 files changed (+1369 additions, -107 deletions)
View changed files
📝
README.md(+10 -2)📝
canvas/canvas.go(+24 -9)📝
canvas/canvas_test.go(+158 -2)📝
canvas/testcanvas/testcanvas.go(+7 -3)📝
cell/cell.go(+92 -0)📝
cell/cell_test.go(+324 -0)📝
draw/border.go(+5 -1)📝
draw/rectangle.go(+5 -1)📝
draw/rectangle_test.go(+9 -0)📝
draw/text.go(+38 -14)📝
draw/text_test.go(+133 -2)📝
images/gaugedemo.gif(+0 -0)➕
images/textdemo.gif(+0 -0)📝
terminal/faketerm/faketerm.go(+1 -10)📝
widgets/text/line_scanner.go(+7 -6)📝
widgets/text/line_scanner_test.go(+59 -6)➕
widgets/text/line_trim.go(+102 -0)➕
widgets/text/line_trim_test.go(+268 -0)📝
widgets/text/text.go(+68 -48)📝
widgets/text/text_test.go(+59 -3)📄 Description
Removes most of the assumptions that a rune only occupies only one cell on the terminal. What remains will be tracked in #37
Fixes #29
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.