github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/fs/config/config_read_password_unsupported.go (about)

     1  // ReadPassword for OSes which are not supported by golang.org/x/term
     2  // See https://github.com/golang/go/issues/14441 - plan9
     3  
     4  //go:build plan9
     5  
     6  package config
     7  
     8  // ReadPassword reads a password with echoing it to the terminal.
     9  func ReadPassword() string {
    10  	return ReadLine()
    11  }