mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-09 13:07:32 -04:00
cleaning up code, adding support for workspaces, and handling errors
This commit is contained in:
parent
6bfebb0e37
commit
609ee42d66
10 changed files with 204 additions and 137 deletions
8
src/utils.zig
Normal file
8
src/utils.zig
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
const Utils = @This();
|
||||
|
||||
const std = @import("std");
|
||||
|
||||
pub fn oomPanic() noreturn {
|
||||
std.log.err("Out of memory error, exiting with 1", .{});
|
||||
std.process.exit(1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue