summaryrefslogtreecommitdiff
path: root/src/termio/Thread.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2024-03-08 20:47:16 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2024-03-22 20:27:44 -0700
commit25d84d697aa981df77fcb5f264a46e5cbcfdbca0 (patch)
tree39c546cf5b8469aebfc11e6cefcbd6d717d715ef /src/termio/Thread.zig
parent368714539edc9b41cc68a9523b461ad1466244c5 (diff)
termio/exec: get compiler errors gone
Diffstat (limited to 'src/termio/Thread.zig')
-rw-r--r--src/termio/Thread.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/termio/Thread.zig b/src/termio/Thread.zig
index 450f32295..45b9fd1ae 100644
--- a/src/termio/Thread.zig
+++ b/src/termio/Thread.zig
@@ -177,7 +177,7 @@ pub fn threadMain(self: *Thread) void {
\\Please free up some pty devices and try again.
;
- t.eraseDisplay(alloc, .complete, false);
+ t.eraseDisplay(.complete, false);
t.printString(str) catch {};
},
@@ -197,7 +197,7 @@ pub fn threadMain(self: *Thread) void {
\\Out of memory. This terminal is non-functional. Please close it and try again.
;
- t.eraseDisplay(alloc, .complete, false);
+ t.eraseDisplay(.complete, false);
t.printString(str) catch {};
},
}