aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-12 12:51:47 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-12 12:51:47 -0700
commitf8b4c1b3893fedcb50241af3f5d5e9d6a786ede9 (patch)
treea474ba99b8ecadb7aef93e77413c1c8d0cc40fcf /screen.h
parent830fba64b139ea9cae9ab50ed16711737bc5b171 (diff)
First pass at making autosuggestions not trigger wrapping
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 0f930a17..a8ce72b5 100644
--- a/screen.h
+++ b/screen.h
@@ -132,10 +132,19 @@ class screen_t
will use it's knowlege of the current contents of the screen in
order to render the desired output using as few terminal commands
as possible.
+
+ \param s the screen on which to write
+ \param prompt the prompt to prepend to the command line
+ \param commandline the command line
+ \param explicit_len the number of characters of the "explicit" (non-autosuggestion) portion of the command line
+ \param colors the colors to use for the comand line
+ \param indent the indent to use for the command line
+ \param cursor_pos where the cursor is
*/
void s_write( screen_t *s,
const wchar_t *prompt,
const wchar_t *commandline,
+ int explicit_len,
const int *colors,
const int *indent,
int cursor_pos );