aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/editor.rs')
-rw-r--r--helix-term/src/editor.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs
index 54c70e1b..111c3273 100644
--- a/helix-term/src/editor.rs
+++ b/helix-term/src/editor.rs
@@ -278,4 +278,11 @@ impl Editor {
println!("The text you entered: {}", typed_text);
Ok(())
}
+
+ pub fn render(&self) {
+ // create a new window sized surface
+ // paint all components
+ // diff vs last frame, swap
+ // paint diff
+ }
}