diff options
author | 2009-09-01 09:11:05 +0000 | |
---|---|---|
committer | 2009-09-01 09:11:05 +0000 | |
commit | 4b6ea90b38acb7f678956630330f6456f5c8f693 (patch) | |
tree | d1b6df074d2f4963328551fb8f53f82955bb1090 /usr.bin/tmux/tmux.c | |
parent | Sort cases same as getopt argument, from martynas. (diff) | |
download | wireguard-openbsd-4b6ea90b38acb7f678956630330f6456f5c8f693.tar.xz wireguard-openbsd-4b6ea90b38acb7f678956630330f6456f5c8f693.zip |
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.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 805438b064f..bc80f830e50 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.37 2009/09/01 09:00:54 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.38 2009/09/01 09:11:05 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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) { |