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 */