mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
reader: Comment the OSC 133 marker sequences
This commit is contained in:
parent
c1fbe237c9
commit
56718c31b1
1 changed files with 2 additions and 0 deletions
|
@ -646,6 +646,7 @@ fn read_i(parser: &Parser) -> i32 {
|
|||
data.command_line.clear();
|
||||
data.update_buff_pos(EditableLineTag::Commandline, None);
|
||||
data.command_line_changed(EditableLineTag::Commandline);
|
||||
// OSC 133 End of command
|
||||
data.screen.write_bytes(b"\x1b]133;C\x07");
|
||||
event::fire_generic(parser, L!("fish_preexec").to_owned(), vec![command.clone()]);
|
||||
let eval_res = reader_run_command(parser, &command);
|
||||
|
@ -658,6 +659,7 @@ fn read_i(parser: &Parser) -> i32 {
|
|||
data.exit_loop_requested |= parser.libdata().exit_current_script;
|
||||
parser.libdata_mut().exit_current_script = false;
|
||||
|
||||
// OSC 133 "Command finished"
|
||||
let _ = write!(
|
||||
Outputter::stdoutput().borrow_mut(),
|
||||
"\x1b]133;D;{}\x07",
|
||||
|
|
Loading…
Reference in a new issue