Sync with 'maint'
[git/gitster.git] / pager.h
blob103ecac476fdd6523930d7ff8fe542eeec038438
1 #ifndef PAGER_H
2 #define PAGER_H
4 struct child_process;
6 const char *git_pager(int stdout_is_tty);
7 void setup_pager(void);
8 void wait_for_pager(void);
9 int pager_in_use(void);
10 int term_columns(void);
11 void term_clear_line(void);
12 int decimal_width(uintmax_t);
13 int check_pager_config(const char *cmd);
14 void prepare_pager_args(struct child_process *, const char *pager);
16 extern int pager_use_color;
18 #endif /* PAGER_H */