https://github.com/git/git
Raw File
Tip revision: 2f0dde7852b7866bb044926f73334ff3fc30654b authored by Junio C Hamano on 13 April 2022, 22:21:31 UTC
Git 2.34.3
Tip revision: 2f0dde7
terminal.h
#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 */
back to top