Use "Password:" with no space for password prompts and don't display a *s for

the password, like pretty much everything else. From martynas@ with minor
tweaks by me.
This commit is contained in:
Nicholas Marriott
2009-09-01 09:11:05 +00:00
parent 34bb735a65
commit f8aa5821be
3 changed files with 12 additions and 18 deletions

2
tmux.c
View File

@ -214,7 +214,7 @@ prepare_unlock(enum msgtype *msg, void **buf, size_t *len, int argc)
return (-1);
}
if ((pass = getpass("Password: ")) == NULL)
if ((pass = getpass("Password:")) == NULL)
return (-1);
if (strlen(pass) >= sizeof unlockdata.pass) {