https://github.com/git/git
Raw File
Tip revision: 7380a72f6b4da51f6db975f4a37c4ea9dadbf477 authored by Johannes Schindelin on 11 March 2023, 19:58:21 UTC
Git 2.35.8
Tip revision: 7380a72
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