Skip to content

Simple rust mechanism to disable/enable terminal echo on linux systems

License

Notifications You must be signed in to change notification settings

mikedilger/echo_off

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

echo_off

This is a rust library for adjusting the terminal echo property. For instance, when reading a password from the user you may want to turn echo off, and then back on again afterwards.

Not tested on any machines but my own gnu-linux ones.

Turn off echo with:

    let mut termios: Termios = Termios::new();
    termios.echo_off();

Then later:

    termios.echo_on();

About

Simple rust mechanism to disable/enable terminal echo on linux systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages