11 pthread_mutex_t ui__lock
= PTHREAD_MUTEX_INITIALIZER
;
13 static void newt_suspend(void *d __used
)
20 void setup_browser(bool fallback_to_pager
)
22 if (!isatty(1) || !use_browser
|| dump_trace
) {
24 if (fallback_to_pager
)
32 newtSetSuspendCallback(newt_suspend
, NULL
);
37 void exit_browser(bool wait_for_ok
)
39 if (use_browser
> 0) {
41 char title
[] = "Fatal Error", ok
[] = "Ok";
42 newtWinMessage(title
, ok
, ui_helpline__last_msg
);