Skip to content

Commit

Permalink
Document Reedline::echo_on
Browse files Browse the repository at this point in the history
  • Loading branch information
IanManske committed Dec 20, 2023
1 parent 518a8db commit 56cf8e2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,14 @@ pub struct Reedline {
// Manage optional kitty protocol
kitty_protocol: KittyProtocolGuard,

// Echo typed input
/// Whether to echo typed input
///
/// On unix systems, this corresponds to the
/// [termios](https://www.man7.org/linux/man-pages/man3/termios.3.html) `ECHO` flag.
/// If it is set by the terminal, typed characters will be printed.
/// Otherwise, typed characters are not shown.
///
/// On non-unix systems this will always remain `true`.
echo_on: bool,

#[cfg(feature = "external_printer")]
Expand Down

0 comments on commit 56cf8e2

Please sign in to comment.