mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #248] [MERGED] Ability to swap scrolling runes #276
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#276
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/248
Author: @emesare
Created: 10/13/2020
Status: ✅ Merged
Merged: 11/13/2020
Merged by: @mum4k
Base:
scroll-runes← Head:master📝 Commits (4)
fe3e973Merge pull request #244 from mum4k/release-0-12-22a7dafaAddinggexto the list of projects using Termdash.8a316e6added the ability to swap the scrolling runesc3220f0added the ability to change the scrolling runes📊 Changes
3 files changed (+23 additions, -2 deletions)
View changed files
📝
README.md(+1 -0)📝
widgets/text/options.go(+20 -0)📝
widgets/text/text.go(+2 -2)📄 Description
#245 fixes this issue with windows consoles by adding option to switch the scroll runes on a text widget.
The option
text.ScrollRunesaccepts two rune parameters, up and down, the default runes are the same⇧and⇩.An example of this which will draw correct scroll runes on windows
text.New(text.RollContent(), text.WrapAtWords(), text.ScrollRunes('▲', '▼'))🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.