mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Fix for pager regression
This commit is contained in:
parent
7e1b15a0cc
commit
19cfd9b5d6
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,7 @@ static std::vector<comp_t *> mangle_completions( wcstring_list_t &lst, const wch
|
|||
|
||||
if( (c == COMPLETE_ITEM_SEP) || (c==COMPLETE_SEP) || !c)
|
||||
{
|
||||
wcstring start2 = wcstring(start, end - start);
|
||||
wcstring start2 = wcstring(next, start, end - start);
|
||||
wcstring str = escape_string(start2, ESCAPE_ALL | ESCAPE_NO_QUOTED);
|
||||
comp->comp_width += my_wcswidth( str.c_str() );
|
||||
comp->comp.push_back(str);
|
||||
|
|
Loading…
Reference in a new issue