feat: add doNotMoveCursor to ensure consistent behavior of WezTerm across all platforms

This commit is contained in:
sxyazi 2023-08-20 16:41:48 -07:00
parent c051df3f60
commit e8f15ff436

View File

@ -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,