A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/act.rs')
-rw-r--r--src/act.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/act.rs b/src/act.rs
index d35cd3a..3912c65 100644
--- a/src/act.rs
+++ b/src/act.rs
@@ -48,6 +48,16 @@ impl CodeActions {
}
pub fn down(&mut self) {
+ // let mut adj = |y: &mut usize, max| {
+ // *y += 1;
+ // if *y == max {
+ // self.vo = 0;
+ // *y = 0;
+ // }
+ // if *y >= self.vo + 13 {
+ // self.vo += 1;
+ // }
+ // };
match &mut self.inner {
N::Many(x, Entry::Outside(y), _) => {
let n = x.len();