diff --git a/crates/edit/src/tui.rs b/crates/edit/src/tui.rs index 0fb7e628bc2..55ee04be5fd 100644 --- a/crates/edit/src/tui.rs +++ b/crates/edit/src/tui.rs @@ -276,7 +276,7 @@ impl ButtonStyle { pub fn accelerator(self, char: char) -> Self { Self { accelerator: Some(char), ..self } } - /// Draw a checkbox prefix: `[🗹 Example Button]` + /// Draw a checkbox prefix: `[◼ Example Button]` pub fn checked(self, checked: bool) -> Self { Self { checked: Some(checked), ..self } } @@ -2071,7 +2071,7 @@ impl<'a> Context<'a, '_> { if self.is_focused() { self.attr_reverse(); } - self.styled_label_add_text(if *checked { "[🗹 " } else { "[☐ " }); + self.styled_label_add_text(if *checked { "[◼ " } else { "[◻ " }); self.styled_label_add_text(text); self.styled_label_add_text("]"); self.styled_label_end(); @@ -3301,7 +3301,7 @@ impl<'a> Context<'a, '_> { self.styled_label_add_text("["); } if let Some(checked) = style.checked { - self.styled_label_add_text(if checked { "🗹 " } else { " " }); + self.styled_label_add_text(if checked { "◼ " } else { " " }); } // Label text match style.accelerator {