From 4c1764e2d683cdc9140c955e352dad3824dcefa9 Mon Sep 17 00:00:00 2001 From: pkova Date: Thu, 24 Oct 2024 17:55:45 +0300 Subject: [PATCH] term: ignore bails on %born event, prevents annoying traces on 411 --- pkg/vere/io/term.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkg/vere/io/term.c b/pkg/vere/io/term.c index 014f2cc90c..fdb5d8435f 100644 --- a/pkg/vere/io/term.c +++ b/pkg/vere/io/term.c @@ -1585,6 +1585,9 @@ u3_term_wall(u3_noun wol) u3z(wol); } +static void +_born_bail_cb(u3_ovum* egg_u, u3_ovum_news new_e) {} + /* _term_io_talk(): */ static void @@ -1607,7 +1610,11 @@ _term_io_talk(u3_auto* car_u) // { cad = u3nc(c3__born, u3_nul); - _term_ovum_plan(car_u, u3k(wir), cad); + u3_ovum* egg_u = u3_auto_plan(car_u, u3_ovum_init(0, c3__d, wir, cad)); + u3z(egg_u->pin_u.lab); + egg_u->pin_u.lab = u3_blip; + + u3_auto_peer(egg_u, 0, 0, _born_bail_cb); } // send terminal dimensions