gyscos / gyscos/cursive

Themable character choices

Open
#450 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
270
Avg merge
5d 19h
Merged PRs (30d)
2

Description

Right now it seems that most of the characters that Cursive outputs are chosen in string literals in the source code for the components that implement them. It would be nice for themes to be able to choose how to draw certain widgets. In Unicode 13, a new block (called Symbols for Legacy Computing) has been added containing characters from old home computers which are specifically meant for TUIs. By allowing themes to make use of these, it would be possible to create themes that look like this for Cursive.

![image](https://user-images.githubusercontent.com/614548/81347008-54738e80-9089-11ea-9080-645588aa8a99.png)

The above TUI is made entirely using characters from the Apple II's MouseText character set (which was incorporated into this new block). Of course, since font support for these characters can't be relied upon in all terminals, having this be a feature of themes would be useful, since it allows the program to fall back to more commonly available box-drawing characters.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.