aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/editor.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-06-01 08:42:28 +0000
committerBlaž Hrastnik2020-06-01 08:42:28 +0000
commit613d06dfb0e5fe2fc05b94e5c651dfd10af23310 (patch)
tree74696d63909ffe05903870bfca19d9beabe0e621 /helix-term/src/editor.rs
parent6905ff03c29c9fc020a6333adf9e9d5004c3f3c5 (diff)
wip: importing to github
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
+ }
}