diff options
author | ZachIR <zachir@librem.one> | 2025-07-17 15:04:24 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2025-07-17 15:04:24 -0500 |
commit | 384ae5ab297bfae189532b4290179daeb3e89fad (patch) | |
tree | 5790a6c707d55200c64fd17c751eb8e5135564a2 /src/config.c | |
parent | 3e8a012e4191bbe4da394049fef6e5df3ad9ef6f (diff) |
Add -P password flag
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |