options: rename --load-osd-console to --load-console

OSD is not accurate since when the console gained support for printing
to the terminal.
This commit is contained in:
Guido Cella 2024-10-17 19:51:47 +02:00 committed by Kacper Michajłow
parent b026fded7d
commit a0ca6ed5d5
4 changed files with 5 additions and 3 deletions

View File

@ -0,0 +1 @@
rename `--load-osd-console` to `--load-console`

View File

@ -3,7 +3,7 @@ CONSOLE
The console is a REPL for mpv input commands. It is displayed on the video
window. It also shows log messages. It can be disabled entirely using the
``--load-osd-console=no`` option.
``--load-console=no`` option.
Keybindings
-----------

View File

@ -1050,7 +1050,7 @@ Program Behavior
binding (default: yes). By default, the ``i`` key is used (``I`` to make
the overlay permanent).
``--load-osd-console=<yes|no>``
``--load-console=<yes|no>``
Enable the built-in script that shows a console on a key binding and lets
you enter commands (default: yes). The ````` key is used to show the
console by default, and ``ESC`` to hide it again.

View File

@ -569,8 +569,9 @@ static const m_option_t mp_opts[] = {
{"ytdl-raw-options", OPT_KEYVALUELIST(lua_ytdl_raw_options)},
{"load-stats-overlay", OPT_BOOL(lua_load_stats),
.flags = UPDATE_BUILTIN_SCRIPTS},
{"load-osd-console", OPT_BOOL(lua_load_console),
{"load-console", OPT_BOOL(lua_load_console),
.flags = UPDATE_BUILTIN_SCRIPTS},
{"load-osd-console", OPT_REPLACED("load-console")},
{"load-auto-profiles",
OPT_CHOICE(lua_load_auto_profiles, {"no", 0}, {"yes", 1}, {"auto", -1}),
.flags = UPDATE_BUILTIN_SCRIPTS},