setup.c (2ff2b289a695807e291e1ed9f639d8a3ba5f4254) setup.c (21f0d423b989284f82004d0f80c75581fec91fb2)
1#include "../cache.h"
2#include "../debug.h"
3
4
5void setup_browser(bool fallback_to_pager)
6{
7 if (!isatty(1) || dump_trace)
8 use_browser = 0;

--- 8 unchanged lines hidden (view full) ---

17 break;
18 /* fall through */
19 case 1:
20 use_browser = 1;
21 if (ui__init() == 0)
22 break;
23 /* fall through */
24 default:
1#include "../cache.h"
2#include "../debug.h"
3
4
5void setup_browser(bool fallback_to_pager)
6{
7 if (!isatty(1) || dump_trace)
8 use_browser = 0;

--- 8 unchanged lines hidden (view full) ---

17 break;
18 /* fall through */
19 case 1:
20 use_browser = 1;
21 if (ui__init() == 0)
22 break;
23 /* fall through */
24 default:
25 use_browser = 0;
25 if (fallback_to_pager)
26 setup_pager();
27 break;
28 }
29}
30
31void exit_browser(bool wait_for_ok)
32{

--- 13 unchanged lines hidden ---
26 if (fallback_to_pager)
27 setup_pager();
28 break;
29 }
30}
31
32void exit_browser(bool wait_for_ok)
33{

--- 13 unchanged lines hidden ---