Skip to content

Update legend border#2

Merged
sile merged 1 commit intomainfrom
legend-border
Mar 9, 2025
Merged

Update legend border#2
sile merged 1 commit intomainfrom
legend-border

Conversation

@sile
Copy link
Copy Markdown
Owner

@sile sile commented Mar 9, 2025

Copilot Summary

This pull request includes several changes to the LegendWidget in the src/widget_legend.rs file, focusing on improving the visual representation of the widget by using box-drawing characters and simplifying the code.

Changes to visual representation:

  • Replaced ASCII characters with box-drawing characters for better visual alignment and aesthetics in the drawln method. [1] [2] [3]

Code simplification:

  • Simplified the COLS constant by replacing the length calculation with a fixed value.

@sile sile merged commit c16259b into main Mar 9, 2025
9 checks passed
@sile sile deleted the legend-border branch March 9, 2025 10:44
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