1 #ifndef COMPAT_TERMINAL_H 2 #define COMPAT_TERMINAL_H 3 4 int save_term(int full_duplex); 5 void restore_term(void); 6 7 char *git_terminal_prompt(const char *prompt, int echo); 8 9 /* Read a single keystroke, without echoing it to the terminal */ 10 int read_key_without_echo(struct strbuf *buf); 11 12 #endif /* COMPAT_TERMINAL_H */ 13