mirror of
https://github.com/wez/wezterm.git
synced 2025-01-08 23:17:36 +03:00
pty: fix doc example
This commit is contained in:
parent
517cdc9c1b
commit
c8ca80f67e
@ -33,7 +33,7 @@
|
||||
//! let mut reader = pair.master.try_clone_reader()?;
|
||||
//!
|
||||
//! // Send data to the pty by writing to the master
|
||||
//! writeln!(pair.master, "ls -l\r\n")?;
|
||||
//! writeln!(pair.master.take_writer()?, "ls -l\r\n")?;
|
||||
//! # Ok::<(), Error>(())
|
||||
//! ```
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user