This commit is contained in:
2023-04-10 18:46:46 -07:00
parent 7c86ba070f
commit fbc0a6557e
6 changed files with 150 additions and 151 deletions

View File

@ -12,9 +12,7 @@ use termion::{
};
use super::promptbuffer::PromptBuffer;
use crate::parser;
use crate::evaluate;
#[inline(always)]
fn draw_greeter(stdout: &mut RawTerminal<std::io::Stdout>) -> Result<(), std::io::Error> {
@ -82,7 +80,7 @@ pub fn main() -> Result<(), std::io::Error> {
#[cfg(debug_assertions)]
RawTerminal::suspend_raw_mode(&stdout)?;
let out_str = g.to_string();
let g = evaluate::evaluate(g);
let g = g.evaluate();
#[cfg(debug_assertions)]
RawTerminal::activate_raw_mode(&stdout)?;