1
0
mirror of https://github.com/git/git.git synced 2024-09-28 16:13:01 +02:00
git/compat/terminal.h

13 lines
314 B
C
Raw Normal View History

#ifndef COMPAT_TERMINAL_H
#define COMPAT_TERMINAL_H
int save_term(int full_duplex);
void restore_term(void);
char *git_terminal_prompt(const char *prompt, int echo);
/* Read a single keystroke, without echoing it to the terminal */
int read_key_without_echo(struct strbuf *buf);
#endif /* COMPAT_TERMINAL_H */