diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-13 21:56:06 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-13 21:56:23 -0800 |
commit | 1db7c6233b82a2daf162df8a08786bc985c40eea (patch) | |
tree | e316bccad77101156b5f983d322645ca9b8ff8e0 /reader.cpp | |
parent | 640beafa8c1d7fa85892d2f5bf858c9325cf4326 (diff) |
Fix for missing first character in completions
Diffstat (limited to 'reader.cpp')
-rw-r--r-- | reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } { |