1
1
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:
Wez Furlong 2018-07-14 08:00:50 -07:00
parent c63d17b1cc
commit 666af3ff3e

View File

@ -383,6 +383,19 @@ impl Screen {
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.