osc: react to script-opts runtime changes
With special attention to changing osc-visibility. Untested, although osc-visibility works (it's pretty much equivalent to the key binding, so there is not much interesting going on). Somewhat inspired by code posted by github user CogentRedTester. Fixes: #4513
W
wm4 committed
b439588172ec97952fb5f9999230f358140f0d14
Parent: 478a321