aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Dequis <dx@dxzone.com.ar>2009-06-10 18:29:13 -0300
committerGravatar Dequis <dx@dxzone.com.ar>2009-06-10 18:29:13 -0300
commit97526404f52875d82d584f18420be72fdc300d93 (patch)
tree8f835841285cfc8d756ae02904ecbb4c6f9fc86a /uzbl.c
parent34a0ec4c9091c97aed9950d1b5c1fcdf01a6cf27 (diff)
Add disable_stdin config option
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/uzbl.c b/uzbl.c
index f1c27b1..24b0315 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -99,6 +99,7 @@ const struct {
/* --------------------------------------------------------------------------------------- */
{ "uri", PTR(uzbl.state.uri, STR, 1, cmd_load_uri)},
{ "verbose", PTR(uzbl.state.verbose, INT, 1, NULL)},
+ { "disable_stdin", PTR(uzbl.behave.disable_stdin, INT, 1, NULL)},
{ "mode", PTR(uzbl.behave.mode, INT, 0, NULL)},
{ "inject_html", PTR(uzbl.behave.inject_html, STR, 0, cmd_inject_html)},
{ "base_url", PTR(uzbl.behave.base_url, STR, 1, NULL)},
@@ -2548,8 +2549,9 @@ main (int argc, char* argv[]) {
/* WebInspector */
set_up_inspector();
-
- create_stdin();
+
+ if (!uzbl.behave.disable_stdin)
+ create_stdin();
if (verbose_override > uzbl.state.verbose)
uzbl.state.verbose = verbose_override;