aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix1
-rw-r--r--src/app.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index cd4d18a..062299a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -50,6 +50,7 @@
50 pkgs.SDL2_ttf 50 pkgs.SDL2_ttf
51 ]; 51 ];
52 RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; 52 RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
53 RUST_LOG="info";
53 }; 54 };
54 }); 55 });
55 } 56 }
diff --git a/src/app.rs b/src/app.rs
index ef299cd..7417dae 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -281,7 +281,7 @@ impl<'ctx> AppState<'ctx> {
281 let lisp_expr = &self.command_box.text; 281 let lisp_expr = &self.command_box.text;
282 let mut parser = Parser::new(Lexer::new(lisp_expr, 0)); 282 let mut parser = Parser::new(Lexer::new(lisp_expr, 0));
283 let res = parser.parse_single_expr(); 283 let res = parser.parse_single_expr();
284 match env::eval(&res.unwrap(), self) { 284 match env::eval(&res.unwrap(), self, None) {
285 Ok(val) => { 285 Ok(val) => {
286 self.message.text = format!("{}", val); 286 self.message.text = format!("{}", val);
287 } 287 }