mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
Changes to work recognition per https://github.com/fish-shell/fish-shell/issues/384
Word movement should be very similar to fish 1.x
backward-kill-word remains more liberal, but now stops at any of {,'"=}
This commit is contained in:
@@ -2031,7 +2031,7 @@ static int builtin_function(parser_t &parser, wchar_t **argv)
|
||||
{
|
||||
const wchar_t *nxt = names.at(i).c_str();
|
||||
size_t l = wcslen(nxt + 2);
|
||||
if (chars+l > common_get_width())
|
||||
if (chars+l > (size_t)common_get_width())
|
||||
{
|
||||
chars = 0;
|
||||
stderr_buffer.push_back(L'\n');
|
||||
|
||||
Reference in New Issue
Block a user