From 56718c31b1dccf2ee24b781ee576fa465413705b Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 6 Nov 2024 18:59:41 +0100 Subject: [PATCH] reader: Comment the OSC 133 marker sequences --- src/reader.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reader.rs b/src/reader.rs index b225f9779..9260626f5 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -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",