mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 03:35:17 +00:00
Pressing the enter key on an empty line scrolls a line
darcs-hash:20051230125705-ac50b-b8064453d6b3a7ac041a3c8d0b23a3189ca3f162.gz
This commit is contained in:
parent
02a3288db7
commit
7eec1a6625
1 changed files with 6 additions and 1 deletions
7
reader.c
7
reader.c
|
@ -2844,8 +2844,13 @@ wchar_t *reader_readline()
|
||||||
writestr( L"\n" );
|
writestr( L"\n" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
writech('\r');
|
||||||
|
writembs(clr_eol);
|
||||||
|
writech('\n');
|
||||||
repaint();
|
repaint();
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue