From bee03d5b604d0714cee46ded5625a2d95d5f468f Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 9 Oct 2021 02:42:52 -0400 Subject: [PATCH] [terminfo] on windows init failure, print panic diagnostic --- src/lib/termdesc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/termdesc.c b/src/lib/termdesc.c index 427b36e95..3cc650da4 100644 --- a/src/lib/termdesc.c +++ b/src/lib/termdesc.c @@ -753,6 +753,7 @@ int interrogate_terminfo(tinfo* ti, const char* termtype, FILE* out, unsigned ut logwarn("termtype (%s) ignored on windows\n", termtype); } if(prepare_windows_terminal(ti, &tablelen, &tableused)){ + logpanic("failed opening Windows ConPTY\n"); return -1; } if(cursor_y && cursor_x){