mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-25 12:45:14 +08:00
Fix for missing first character in completions
This commit is contained in:
parent
640beafa8c
commit
1db7c6233b
@ -1648,7 +1648,7 @@ static bool handle_completions(const std::vector<completion_t> &comp)
|
||||
{
|
||||
// append just the end of the string
|
||||
prefix = wcstring(&ellipsis_char, 1);
|
||||
prefix.append(data->command_line, prefix_start + len - PREFIX_MAX_LEN - 1, PREFIX_MAX_LEN);
|
||||
prefix.append(data->command_line, prefix_start + len - PREFIX_MAX_LEN, PREFIX_MAX_LEN);
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user