mirror of
https://github.com/wez/wezterm.git
synced 2024-12-19 03:11:31 +03:00
sketch out the interface for two future functions
This commit is contained in:
parent
c63d17b1cc
commit
666af3ff3e
@ -383,6 +383,19 @@ impl Screen {
|
|||||||
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Computes the change stream required to make `self` have the same
|
||||||
|
/// screen contents as `other`.
|
||||||
|
pub fn diff_screens(&self, _other: &Screen) -> Vec<Change> {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Draw the contents of `other` into self at the specified coordinates.
|
||||||
|
/// The required updates are recorded as Change entries as well as stored
|
||||||
|
/// in the screen line/cell data.
|
||||||
|
pub fn draw_from_screen(&mut self, _other: &Screen, _x: usize, _y: usize) {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Applies a Position update to either the x or y position.
|
/// Applies a Position update to either the x or y position.
|
||||||
|
Loading…
Reference in New Issue
Block a user