diff options
author | bptato <nincsnevem662@gmail.com> | 2023-08-27 13:00:37 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-08-27 13:00:37 +0200 |
commit | 9991bd3393483158ab0d1b9d995f695dee3c65dc (patch) | |
tree | 51de19187c968e6edccba587148322db33952cbe /bonus | |
parent | 48f1306f3a9cc5e190907c4a818fc62cad7d9024 (diff) | |
download | chawan-9991bd3393483158ab0d1b9d995f695dee3c65dc.tar.gz |
config: allow modification through JS
This used to be possible until I moved everything under separate headers to their respective objects. Now it works again, mostly; modification of some attributes is still missing.
Diffstat (limited to 'bonus')
-rw-r--r-- | bonus/w3m.toml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bonus/w3m.toml b/bonus/w3m.toml index 55c792f0..3fad5fea 100644 --- a/bonus/w3m.toml +++ b/bonus/w3m.toml @@ -67,7 +67,10 @@ C-s = 'pager.searchForward()' C-r = 'pager.searchBackward()' n = 'pager.searchNext()' N = 'pager.searchPrev()' -C-w = 'config.searchwrap = !config.searchwrap; pager.alert("Wrap search " + (config.searchwrap ? "on" : "off"))' +C-w = ''' +config.search.wrap = !config.search.wrap; +pager.alert("Wrap search " + (config.search.wrap ? "on" : "off")); +''' # Misc #TODO shell out, help file, options, cookies C-c = 'pager.cancel()' |