Exit on esc up

This commit is contained in:
2025-05-13 13:53:02 -07:00
parent 1efb3f661b
commit a1aa3bc2eb
4 changed files with 76 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ pub struct ShmPool {
}
impl ShmPool {
pub fn new(width: usize, height: usize, id: u32) -> std::io::Result<ShmPool> {
pub fn new(width: usize, height: usize) -> std::io::Result<ShmPool> {
let size = width * height * 4;
let shm_path: *const i8 = b"/chlorostart\0".as_ptr() as *const i8;