Enum broot::kitty::TransmissionMedium
source · [−]pub enum TransmissionMedium {
TempFile,
Chunks,
}
Expand description
How to send the image to kitty
Note that I didn’t test yet the named shared memory solution offered by kitty.
Variants
TempFile
write a temp file, then give its path to kitty in the payload of the escape sequence. It’s quite fast on SSD but a big downside is that it doesn’t work if you’re distant
Chunks
send the whole rgb or rgba data, encoded in base64, in the payloads of several escape sequence (each one containing at most 4096 bytes). Works if broot runs on remote.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TransmissionMedium
impl Send for TransmissionMedium
impl Sync for TransmissionMedium
impl Unpin for TransmissionMedium
impl UnwindSafe for TransmissionMedium
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more