Added prompt escape code expansion flag to echo, -p
Added non-formatted runtime to prompt escape codes Added prompt escape code that expands to the output of a shell function Reworked internal logic for termios control
This commit is contained in:
@@ -687,7 +687,7 @@ impl LineWriter for TermWriter {
|
||||
for _ in 0..rows_to_clear {
|
||||
self.buffer.push_str("\x1b[2K\x1b[A");
|
||||
}
|
||||
self.buffer.push_str("\x1b[2K");
|
||||
self.buffer.push_str("\x1b[2K\r"); // Clear line and return to column 0
|
||||
write_all(self.out, self.buffer.as_str())?;
|
||||
self.buffer.clear();
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user