forked from NotAShelf/beer
render: draw the grid with rasterized glyphs
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6350824abb506c2af98884a7374228116a6a6964
This commit is contained in:
parent
a3c41c6ccb
commit
5690e0e883
9 changed files with 768 additions and 24 deletions
|
|
@ -73,6 +73,11 @@ impl Pty {
|
|||
&self.master
|
||||
}
|
||||
|
||||
/// Inform the kernel (and thus the child) of a new terminal size.
|
||||
pub fn resize(&self, cols: u16, rows: u16) -> anyhow::Result<()> {
|
||||
set_winsize(&self.master, cols, rows)
|
||||
}
|
||||
|
||||
/// Reap the child if it has exited.
|
||||
pub fn wait(&mut self) -> io::Result<ExitStatus> {
|
||||
self.child.wait()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue