aboutsummaryrefslogtreecommitdiffstats
path: root/fbiconfig.c
diff options
context:
space:
mode:
authorMoses Palmér <mosespalmer@gmail.com>2016-05-07 15:58:28 +0200
committerMoses Palmér <mosespalmer@gmail.com>2016-05-07 15:59:46 +0200
commitcadef4f05202df2c360773779a5f5b5d6d993df9 (patch)
tree636d19981c5ccde9022ab9973182a6fb4022028c /fbiconfig.c
parent66e54b48ebd46b10321c2d908688e338d8ccf82d (diff)
downloadfbida-cadef4f05202df2c360773779a5f5b5d6d993df9.tar.gz
fbi: add --(no)interactive command line flag
Diffstat (limited to 'fbiconfig.c')
-rw-r--r--fbiconfig.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fbiconfig.c b/fbiconfig.c
index 6c2a4bc..524e3aa 100644
--- a/fbiconfig.c
+++ b/fbiconfig.c
@@ -172,6 +172,11 @@ struct cfg_cmdline fbi_cfg[] = {
.needsarg = 1,
.desc = "use drm output <arg> (try -info for a list)",
},{
+ .cmdline = "interactive",
+ .option = { O_INTERACTIVE },
+ .yesno = 1,
+ .desc = "allow keyboard interaction",
+ },{
.letter = 'm',
.cmdline = "mode",
.option = { O_VIDEO_MODE },