From e8f15ff436c1a4cf66c5fe4f35571d1ebc429251 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 20 Aug 2023 16:41:48 -0700 Subject: [PATCH] feat: add `doNotMoveCursor` to ensure consistent behavior of WezTerm across all platforms --- adaptor/src/iterm2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptor/src/iterm2.rs b/adaptor/src/iterm2.rs index 6944e845..b03821fe 100644 --- a/adaptor/src/iterm2.rs +++ b/adaptor/src/iterm2.rs @@ -40,7 +40,7 @@ impl Iterm2 { let mut buf = vec![]; write!( buf, - "\x1b]1337;File=inline=1;size={};width={}px;height={}px:{}\x07", + "\x1b]1337;File=inline=1;size={};width={}px;height={}px;doNotMoveCursor=1:{}\x07", jpg.len(), size.0, size.1,