mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 17:32:42 -06:00
Merge main into fix/script-console-report-text
This commit is contained in:
@@ -208,7 +208,7 @@ impl Console {
|
||||
|
||||
/// `c` as the console shows it: a control character as its Control Picture, a line or paragraph
|
||||
/// separator as U+2424, anything else as it is.
|
||||
fn shown(c: char) -> char {
|
||||
pub(crate) fn shown(c: char) -> char {
|
||||
match c {
|
||||
'\u{0}'..='\u{1f}' => char::from_u32(0x2400 + c as u32).unwrap_or('\u{fffd}'),
|
||||
'\u{7f}' => '\u{2421}',
|
||||
|
||||
Reference in New Issue
Block a user