Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(demo): update demo gif with a fixed unicode gauge #227

Merged
merged 2 commits into from
Jun 11, 2023

Conversation

joshka
Copy link
Member

@joshka joshka commented Jun 8, 2023

  • fix(gauge): render gauge with unicode correctly
  • docs: update demo.gif

@joshka
Copy link
Member Author

joshka commented Jun 8, 2023

Before:

image

After:

image

I think the color issue is possibly because the space doesn't have a bold rendering?

Gauge now correctly renders a block rather than a space when in unicode mode.
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #227 (5919fc6) into main (d711f2a) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   81.68%   81.70%   +0.01%     
==========================================
  Files          34       34              
  Lines        6579     6586       +7     
==========================================
+ Hits         5374     5381       +7     
  Misses       1205     1205              
Impacted Files Coverage Δ
src/widgets/gauge.rs 87.20% <100.00%> (+0.43%) ⬆️

RELEASE.md Outdated Show resolved Hide resolved
- remove existing gif
- upload using VHS (https://github.com/charmbracelet/vhs)
- add instructions to RELEASE.md
- link new gif in README
@orhun orhun changed the title fix gauge unicode chore(demo): update demo gif with a fixed unicode gauge Jun 11, 2023
@orhun orhun merged commit 593fd29 into ratatui-org:main Jun 11, 2023
10 checks passed
samyosm pushed a commit to samyosm/ratatui that referenced this pull request Jun 18, 2023
)

* fix(gauge): render gauge with unicode correctly

Gauge now correctly renders a block rather than a space when in unicode mode.

* docs: update demo.gif

- remove existing gif
- upload using VHS (https://github.com/charmbracelet/vhs)
- add instructions to RELEASE.md
- link new gif in README
@joshka joshka deleted the fix-gauge-unicode branch July 9, 2023 02:17
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.

None yet

3 participants