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:
ridiculousfish
2012-12-20 17:37:09 -08:00
parent ce15abd577
commit 0b1e371880
7 changed files with 224 additions and 51 deletions

View File

@@ -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');