aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-02 00:55:49 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-02 00:55:49 +0000
commitce5c441f0fddc70c9ac982eb4741d3d0230d51a2 (patch)
treea0f823042544cb4ccfdd05f89af551018ca4c2bb /tmux.c
parent99de03ea327add0e8532227a5cc4367c8cee8bdc (diff)
downloadrtmux-ce5c441f0fddc70c9ac982eb4741d3d0230d51a2.tar.gz
rtmux-ce5c441f0fddc70c9ac982eb4741d3d0230d51a2.tar.bz2
rtmux-ce5c441f0fddc70c9ac982eb4741d3d0230d51a2.zip
Sync OpenBSD patchset 304:
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 'tmux.c')
-rw-r--r--tmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 983ee483..5c41061a 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.166 2009-09-02 00:54:00 tcunha Exp $ */
+/* $Id: tmux.c,v 1.167 2009-09-02 00:55:49 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -223,7 +223,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) {