A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/rnd.rs')
-rw-r--r--src/rnd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rnd.rs b/src/rnd.rs
index 4453769..4905cf2 100644
--- a/src/rnd.rs
+++ b/src/rnd.rs
@@ -707,7 +707,7 @@ pub fn render(
BORDER,
);
}
- State::Command(x) => {
+ State::Command(x) if x.should_render() => {
let ws = ed.workspace.as_deref().unwrap();
let c = x.cells(50, ws);
drawb(&c, 50);