aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-04 23:21:37 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-04 23:21:37 -0800
commit5ba1261285853e3448fc4397f1ca3a1e1733f6ba (patch)
tree9169575970b4ae162b60a3414261ea573d8ffe43 /screen.h
parent7bb844a77835b446365aa56729483927acc6c561 (diff)
Initial right_prompt work
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/screen.h b/screen.h
index 29a613a1..faec0d71 100644
--- a/screen.h
+++ b/screen.h
@@ -120,7 +120,7 @@ class screen_t
A string containing the prompt which was last printed to
the screen.
*/
- wcstring actual_prompt;
+ wcstring actual_left_prompt;
/**
The actual width of the screen at the time of the last screen
@@ -157,7 +157,8 @@ class screen_t
as possible.
\param s the screen on which to write
- \param prompt the prompt to prepend to the command line
+ \param left_prompt the prompt to prepend to the command line
+ \param right_prompt the right prompt, or NULL if none
\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
@@ -165,7 +166,8 @@ class screen_t
\param cursor_pos where the cursor is
*/
void s_write( screen_t *s,
- const wchar_t *prompt,
+ const wchar_t *left_prompt,
+ const wchar_t *right_prompt,
const wchar_t *commandline,
size_t explicit_len,
const int *colors,