Bring back ellipsis

This commit is contained in:
ridiculousfish
2012-11-05 00:05:42 -08:00
parent 5ba1261285
commit 21e83a881e
7 changed files with 78 additions and 1 deletions

View File

@@ -1532,6 +1532,7 @@ static bool handle_completions( const std::vector<completion_t> &comp )
else
{
// append just the end of the string
prefix = wcstring(&ellipsis_char, 1);
prefix.append(data->command_line, prefix_start + len - PREFIX_MAX_LEN, wcstring::npos);
}