diff options
author | Dequis <dx@dxzone.com.ar> | 2009-06-10 18:29:13 -0300 |
---|---|---|
committer | Dequis <dx@dxzone.com.ar> | 2009-06-10 18:29:13 -0300 |
commit | 97526404f52875d82d584f18420be72fdc300d93 (patch) | |
tree | 8f835841285cfc8d756ae02904ecbb4c6f9fc86a /uzbl.c | |
parent | 34a0ec4c9091c97aed9950d1b5c1fcdf01a6cf27 (diff) |
Add disable_stdin config option
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |