Added input_hidden() to ask for passwords in the CLI without echoing the chars. (0.37.37)
This commit is contained in:
parent
4997ad1e4b
commit
b32f7e839b
7 changed files with 172 additions and 4 deletions
6
src/vm.c
6
src/vm.c
|
|
@ -29,9 +29,15 @@
|
|||
#include <netdb.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
/* For hidden input (password) handling in OP_INPUT_LINE */
|
||||
#include <termios.h>
|
||||
//#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
/* Bring in split-out built-ins without changing the build system yet */
|
||||
#include "iter.c"
|
||||
#include "map.c"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue