about summary refs log tree commit diff
path: root/third_party/git/compat/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/compat/terminal.h')
-rw-r--r--third_party/git/compat/terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/git/compat/terminal.h b/third_party/git/compat/terminal.h
index 97db7cd69d65..a9d52b8464e2 100644
--- a/third_party/git/compat/terminal.h
+++ b/third_party/git/compat/terminal.h
@@ -3,4 +3,7 @@
 
 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 */