Skip to content

Commit

Permalink
update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
nitram509 committed Jan 21, 2023
1 parent 2085909 commit 8a86657
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@

# ntgrrc (Netgear Remote Control) CHANGELOG

## v0.8.1

* CHANGE: using "-v" parameter instead of "-d" for verbose output
* CHANGE: using OS specific temp-directory (typically $TMP or %TEMP%) to store login token (see #17) - thank you for your contribution @Sylensky
* fix the Windows build

----

## v0.8.0

* CHANGE: using "-v" parameter instead of "-d" for verbose output
Expand Down
3 changes: 2 additions & 1 deletion login.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ func (login *LoginCommand) Run(args *GlobalOptions) error {

func promptForPassword(serverName string) (string, error) {
fmt.Printf("Please enter password for '%s' (input hidden) :> ", serverName)
password, err := term.ReadPassword(syscall.Stdin)
// the int conversion is required for the windows build to succeed
password, err := term.ReadPassword(int(syscall.Stdin))
return string(password), err
}

Expand Down

0 comments on commit 8a86657

Please sign in to comment.