From 384ae5ab297bfae189532b4290179daeb3e89fad Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 17 Jul 2025 15:04:24 -0500 Subject: Add -P password flag --- src/config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 8239a24..d45e62b 100644 --- a/src/config.c +++ b/src/config.c @@ -321,6 +321,8 @@ bool parse_option(struct tofi *tofi, const char *filename, size_t lineno, const } } else if (strcasecmp(option, "bottom") == 0) { tofi->anchor = ANCHOR_BOTTOM; + } else if (strcasecmp(option, "password") == 0) { + tofi->window.entry.hide_input = true; } else if (strcasecmp(option, "anchor") == 0) { uint32_t val = parse_anchor(filename, lineno, value, &err); if (!err) { -- cgit v1.2.3