mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Convert hidden flag to a full flags word for the status line and add a flag to
accept after only one key. Use this so don't need to press enter after y/n for confirm-before.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: server-fn.c,v 1.58 2009-04-02 20:30:20 nicm Exp $ */
|
||||
/* $Id: server-fn.c,v 1.59 2009-04-27 17:27:36 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -183,7 +183,8 @@ server_lock(void)
|
||||
continue;
|
||||
|
||||
status_prompt_clear(c);
|
||||
status_prompt_set(c, "Password: ", server_lock_callback, c, 1);
|
||||
status_prompt_set(
|
||||
c, "Password: ", server_lock_callback, c, PROMPT_HIDDEN);
|
||||
server_redraw_client(c);
|
||||
}
|
||||
server_locked = 1;
|
||||
|
Reference in New Issue
Block a user