mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
term: ignore SIGWINCH if there's no active terminal driver
This commit is contained in:
parent
4a48e16f41
commit
37cf2135bc
@ -977,13 +977,16 @@ u3_term_get_blew(c3_l tid_l)
|
||||
void
|
||||
u3_term_ef_winc(void)
|
||||
{
|
||||
u3_noun wir = u3nt(c3__term, '1', u3_nul);
|
||||
u3_noun cad = u3nc(c3__blew, u3_term_get_blew(1));
|
||||
// XX groace, this should be a global handler sent to each pier
|
||||
//
|
||||
if ( u3_Host.uty_u->car_u ) {
|
||||
u3_noun wir = u3nt(c3__term, '1', u3_nul);
|
||||
u3_noun cad = u3nc(c3__blew, u3_term_get_blew(1));
|
||||
|
||||
c3_assert( 1 == u3_Host.uty_u->tid_l );
|
||||
c3_assert( u3_Host.uty_u->car_u );
|
||||
c3_assert( 1 == u3_Host.uty_u->tid_l );
|
||||
|
||||
_term_ovum_plan(u3_Host.uty_u->car_u, wir, cad);
|
||||
_term_ovum_plan(u3_Host.uty_u->car_u, wir, cad);
|
||||
}
|
||||
}
|
||||
|
||||
/* u3_term_ef_ctlc(): send ^C on console.
|
||||
|
Loading…
Reference in New Issue
Block a user