https://github.com/git/git
Raw File
Tip revision: ebf3c04b262aa27fbb97f8a0156c2347fecafafb authored by Junio C Hamano on 06 June 2021, 06:40:01 UTC
Git 2.32
Tip revision: ebf3c04
terminal.h
#ifndef COMPAT_TERMINAL_H
#define COMPAT_TERMINAL_H

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