Skip to content

vxfw: add support for custom glyphs to Border widget#323

Open
water-sucks wants to merge 1 commit into
rockorager:mainfrom
water-sucks:add-border-chars
Open

vxfw: add support for custom glyphs to Border widget#323
water-sucks wants to merge 1 commit into
rockorager:mainfrom
water-sucks:add-border-chars

Conversation

@water-sucks
Copy link
Copy Markdown

This replicates the functionality from vaxis.Window for setting custom characters for the vxfw.Border widget.

Comment thread src/Window.zig
Comment on lines +99 to +100
pub const single_rounded: [6][]const u8 = .{ "╭", "─", "╮", "│", "╯", "╰" };
pub const single_square: [6][]const u8 = .{ "┌", "─", "┐", "│", "┘", "└" };
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if making these pub is the best way of doing this, any opinions?

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