First pass at making autosuggestions not trigger wrapping

Addresses https://github.com/fish-shell/fish-shell/issues/167
This commit is contained in:
ridiculousfish
2012-07-12 12:51:47 -07:00
parent 830fba64b1
commit f8b4c1b389
3 changed files with 41 additions and 24 deletions

View File

@@ -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 );