diff --git a/functions/__config_settings_apply.fish b/functions/__config_settings_apply.fish index fb2b1e1..4357041 100644 --- a/functions/__config_settings_apply.fish +++ b/functions/__config_settings_apply.fish @@ -2,11 +2,11 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # SYNOPSIS -# __config_toggle_apply +# __config_settings_apply # # DESCRIPTION # Applies a state value to an opinionated-component variable in the given -# scope, immediately and persistently. Used by config-toggle's Left/Right +# scope, immediately and persistently. Used by config-settings's Left/Right # (and vim h/l) directional handlers so the set/erase logic lives in one # place. A value of "DEFAULT" erases the variable in that scope so the # master switch / built-in default takes over again. @@ -17,7 +17,7 @@ # ARGUMENTS # varname Variable name without the $ prefix # scope "universal" or "session" -# value "on", "off", or "DEFAULT" +# value "on", "off", "DEFAULT", or any arbitrary string (universal scope only) # # RETURNS # 0 Always @@ -33,7 +33,7 @@ function __config_settings_apply # stderr is suppressed because setting a value in one scope while the # other scope already holds the same variable makes interactive fish # emit a shadowing warning ("set: successfully set universal 'X'; but a - # global by that name shadows it"). config-toggle intentionally edits + # global by that name shadows it"). config-settings intentionally edits # both scopes independently, so the warning is expected noise — and if # it reached the terminal it would push the cursor down a row and # corrupt the in-place panel redraw (leaving a stacked top border diff --git a/functions/__config_settings_draw.fish b/functions/__config_settings_draw.fish index 72af192..c5ef31e 100644 --- a/functions/__config_settings_draw.fish +++ b/functions/__config_settings_draw.fish @@ -2,7 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # SYNOPSIS -# __config_toggle_draw ... +# __config_settings_draw ... # # DESCRIPTION # Renders the 16-line config-toggle TUI panel to stdout. Panel width and diff --git a/functions/__config_settings_get_val.fish b/functions/__config_settings_get_val.fish index 8a3019d..c2dbede 100644 --- a/functions/__config_settings_get_val.fish +++ b/functions/__config_settings_get_val.fish @@ -2,7 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # SYNOPSIS -# __config_toggle_get_val +# __config_settings_get_val # # DESCRIPTION # Returns the current value of a named variable in the specified scope by diff --git a/functions/__config_settings_read_key.fish b/functions/__config_settings_read_key.fish index c040eea..0109064 100644 --- a/functions/__config_settings_read_key.fish +++ b/functions/__config_settings_read_key.fish @@ -2,7 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # SYNOPSIS -# __config_toggle_read_key +# __config_settings_read_key # # DESCRIPTION # Reads a single keypress directly from the controlling terminal in raw