#define HISTORY_SIZE 64
static char *history[HISTORY_SIZE];
static int histIn = 0, histP = 0;
+static Boolean noEcho;
static void
SaveInHistory (char *cmd)
{
+ if(noEcho) return; // do not save password!
if (history[histIn] != NULL) {
free(history[histIn]);
history[histIn] = NULL;
} else PopUpMoveDialog(*buf);
}
-static Boolean noEcho;
-
void
EchoOn ()
{