aboutsummaryrefslogtreecommitdiff
path: root/src/client/blit.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-13 14:14:40 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-13 14:15:26 +0300
commit4600309051e5d6bea1f64e72cec585b102117ce5 (patch)
tree8ca78803bbef8453bdd2d9a0de312201cd0ee60d /src/client/blit.rs
parentfb9aff54087aa8a606e9260a689986d2bd76f5fa (diff)
feat: support kitty graphics in attached clients
Diffstat (limited to 'src/client/blit.rs')
-rw-r--r--src/client/blit.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/client/blit.rs b/src/client/blit.rs
index a206f97e..4a5c90c3 100644
--- a/src/client/blit.rs
+++ b/src/client/blit.rs
@@ -597,6 +597,7 @@ mod tests {
height,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
}
}
@@ -781,6 +782,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -809,6 +811,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let hidden = FrameData {
cells: vec![make_cell("B", 0, 0, 0); 9],
@@ -820,6 +823,7 @@ mod tests {
visible: false,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut last_visible_cursor = None;
let mut output = Vec::new();
@@ -974,6 +978,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -998,6 +1003,7 @@ mod tests {
visible: false,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1018,6 +1024,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1043,6 +1050,7 @@ mod tests {
visible: false,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1063,6 +1071,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1090,6 +1099,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut curr = prev.clone();
curr.cells[0] = make_cell("B", 0, 0, 0);
@@ -1127,6 +1137,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let hidden = FrameData {
cells: vec![make_cell("B", 0, 0, 0); 9],
@@ -1134,6 +1145,7 @@ mod tests {
height: 3,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut last_visible_cursor = None;
let mut output = Vec::new();
@@ -1165,6 +1177,7 @@ mod tests {
height: 2,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut last_visible_cursor = None;
let mut output = Vec::new();
@@ -1190,6 +1203,7 @@ mod tests {
visible: true,
}),
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let curr = FrameData {
cells: vec![make_cell("B", 0, 0, 0)],
@@ -1197,6 +1211,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1220,6 +1235,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1243,6 +1259,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let curr = FrameData {
cells: vec![
@@ -1254,6 +1271,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();
@@ -1279,6 +1297,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let curr = FrameData {
cells: vec![
@@ -1290,6 +1309,7 @@ mod tests {
height: 1,
cursor: None,
hyperlinks: Vec::new(),
+ graphics: Vec::new(),
};
let mut output = Vec::new();