summaryrefslogtreecommitdiff
path: root/src/Messages.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Messages.zig')
-rw-r--r--src/Messages.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Messages.zig b/src/Messages.zig
index 63650be5..98e005be 100644
--- a/src/Messages.zig
+++ b/src/Messages.zig
@@ -218,7 +218,6 @@ fn showMessage(p: *Pardes, id: usize, text: []const u8, stack: bool) void {
/// ponytail: a pane's older lines go with its newest, not each on its own
/// clock; the render pipeline's clock will give every line its own.
fn nowMs() i64 {
- if (comptime !pardes.hosted) return 0;
var ts: std.c.timespec = undefined;
if (std.c.clock_gettime(.MONOTONIC, &ts) != 0) return 0;
return @as(i64, ts.sec) * 1000 + @divTrunc(@as(i64, ts.nsec), 1_000_000);
@@ -928,7 +927,6 @@ test "messages stack, oldest on top, each on its own timing" {
}
test "a builtin announces itself on the message row, and Verbose silences it" {
- if (platform == .web) return;
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 80, .rows = 24 });
defer p.deinit();
const pane = p.panes[p.active].?;
@@ -980,7 +978,6 @@ test "a builtin announces itself on the message row, and Verbose silences it" {
}
test "notices stack over the body's top rows without moving them" {
- if (platform == .web) return;
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 80, .rows = 24 });
defer p.deinit();
const id = p.active;