Merge branch 'rs/parse-options-lithelp-help'
[git/debian.git] / compat / terminal.h
blobe1770c575b2c5c501d3fbf3bcbe3873d288a1c92
1 #ifndef COMPAT_TERMINAL_H
2 #define COMPAT_TERMINAL_H
4 int save_term(int full_duplex);
5 void restore_term(void);
7 char *git_terminal_prompt(const char *prompt, int echo);
9 /* Read a single keystroke, without echoing it to the terminal */
10 int read_key_without_echo(struct strbuf *buf);
12 #endif /* COMPAT_TERMINAL_H */