diff --git a/nested/src/editors/char/mod.rs b/nested/src/editors/char/mod.rs index 91dc3f4..6e5eb49 100644 --- a/nested/src/editors/char/mod.rs +++ b/nested/src/editors/char/mod.rs @@ -84,7 +84,7 @@ impl CharEditor { ) .set_view(data .get_port() - .map(move |c| TerminalAtom::from(c)) + .map(move |c| TerminalAtom::from(if c == '\0' { ' ' } else { c })) .to_grid() ) .set_cmd( editor.clone() )