Skip to content

Commit b34dbbd

Browse files
Added clearing the password prompt line
1 parent 9387a10 commit b34dbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gohpts/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func root(args []string) error {
5151
os.Exit(1)
5252
}
5353
conf.Pass = string(bytepw)
54-
fmt.Println()
54+
fmt.Print("\033[2K\r")
5555
return nil
5656
})
5757
flags.Func("l", "Address of HTTP proxy server (Default: localhost:8080)", func(flagValue string) error {

0 commit comments

Comments
 (0)