aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-05 15:21:42 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-05 15:21:42 -0800
commit85fdf587c055a912b6051abbf676724e233ebecf (patch)
tree51bcc17520ac111b27bd7ea2e161921467723a3f /reader.h
parent8d4a701f865a5176d3a5814307156c9c98419311 (diff)
When the user input contains capital letters, use its case rather than the autosuggestion's case
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/reader.h b/reader.h
index 923f07d8..ba024e86 100644
--- a/reader.h
+++ b/reader.h
@@ -214,5 +214,8 @@ int reader_shell_test(const wchar_t *b);
*/
int reader_search_mode();
+/* Given a command line and an autosuggestion, return the string that gets shown to the user. Exposed for testing purposes only. */
+wcstring combine_command_and_autosuggestion(const wcstring &cmdline, const wcstring &autosuggestion);
+
#endif