about summary refs log tree commit diff
path: root/compat/terminal.h
blob: a9d52b8464e2f6e3c39bc107078cb5b2a36aa5d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#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 */