mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-02 12:37:32 +08:00
Revert "Fix clearing abandoned line with VTE (#4243)"
Unfortunately, this breaks the expect tests.
So, until I can figure out how to unbreak them:
This reverts commit 09cb31a172
.
This commit is contained in:
parent
09cb31a172
commit
d84a859f4f
|
@ -1287,7 +1287,7 @@ void s_reset(screen_t *s, screen_reset_mode_t mode) {
|
||||||
// line above your prompt. This doesn't make a difference in normal usage, but copying and
|
// line above your prompt. This doesn't make a difference in normal usage, but copying and
|
||||||
// pasting your terminal log becomes a pain. This commit clears that line, making it an
|
// pasting your terminal log becomes a pain. This commit clears that line, making it an
|
||||||
// actual empty line.
|
// actual empty line.
|
||||||
abandon_line_string.append(str2wcstring(clr_eol));
|
abandon_line_string.append(L"\e[2K");
|
||||||
|
|
||||||
const std::string narrow_abandon_line_string = wcs2string(abandon_line_string);
|
const std::string narrow_abandon_line_string = wcs2string(abandon_line_string);
|
||||||
write_loop(STDOUT_FILENO, narrow_abandon_line_string.c_str(),
|
write_loop(STDOUT_FILENO, narrow_abandon_line_string.c_str(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user