wrapper: introduce `log2u()`
[git/gitster.git] / pager.h
blobb77433026dc7a338a496db0b3b8b6ea5eac1770e
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 int pager_in_use(void);
9 int term_columns(void);
10 void term_clear_line(void);
11 int decimal_width(uintmax_t);
12 int check_pager_config(const char *cmd);
13 void prepare_pager_args(struct child_process *, const char *pager);
15 extern int pager_use_color;
17 #endif /* PAGER_H */