use hanbun; use crossterm::{ event::{read, Event, KeyCode}, terminal::{disable_raw_mode, enable_raw_mode}, }; use meval; use std::process; #[derive(Debug)] struct Button { x: usize, y: usize, digit: usize, } // Generates a grid of cells (not to be confused with the terminal's cells). fn grid( buffer: &mut hanbun::Buffer, base_x: usize, base_y: usize, width: usize, height: usize, cell_size: usize, ) -> Vec