aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.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 /fbi.c
parent66e54b48ebd46b10321c2d908688e338d8ccf82d (diff)
downloadfbida-cadef4f05202df2c360773779a5f5b5d6d993df9.tar.gz
fbi: add --(no)interactive command line flag
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index a2f7e34..cbccc0f 100644
--- a/fbi.c
+++ b/fbi.c
@@ -121,6 +121,7 @@ int read_ahead;
int editable;
int blend_msecs;
int perfmon = 0;
+int interactive = 0;
/* font handling */
static char *fontname = NULL;
@@ -1383,6 +1384,7 @@ int main(int argc, char *argv[])
h_steps = GET_SCROLL();
timeout = GET_TIMEOUT();
pcd_res = GET_PCD_RES();
+ interactive = GET_INTERACTIVE();
fontname = cfg_get_str(O_FONT);
filelist = cfg_get_str(O_FILE_LIST);