Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readPasswordLine (0.11 sec)

  1. src/cmd/vendor/golang.org/x/term/terminal.go

    	}
    	return s.entries[index], true
    }
    
    // readPasswordLine reads from reader until it finds \n or io.EOF.
    // The slice returned does not include the \n.
    // readPasswordLine also ignores any \r it finds.
    // Windows uses \r as end of line. So, on Windows, readPasswordLine
    // reads until it finds \r and ignores any \n it finds during processing.
    func readPasswordLine(reader io.Reader) ([]byte, error) {
    	var buf [1]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
Back to top