1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

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 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 window. It also shows log messages. It can be disabled entirely using the
``--load-osd-console=no`` option. ``--load-console=no`` option.
Keybindings Keybindings
----------- -----------

View File

@ -1050,7 +1050,7 @@ Program Behavior
binding (default: yes). By default, the ``i`` key is used (``I`` to make binding (default: yes). By default, the ``i`` key is used (``I`` to make
the overlay permanent). 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 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 you enter commands (default: yes). The ````` key is used to show the
console by default, and ``ESC`` to hide it again. 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)}, {"ytdl-raw-options", OPT_KEYVALUELIST(lua_ytdl_raw_options)},
{"load-stats-overlay", OPT_BOOL(lua_load_stats), {"load-stats-overlay", OPT_BOOL(lua_load_stats),
.flags = UPDATE_BUILTIN_SCRIPTS}, .flags = UPDATE_BUILTIN_SCRIPTS},
{"load-osd-console", OPT_BOOL(lua_load_console), {"load-console", OPT_BOOL(lua_load_console),
.flags = UPDATE_BUILTIN_SCRIPTS}, .flags = UPDATE_BUILTIN_SCRIPTS},
{"load-osd-console", OPT_REPLACED("load-console")},
{"load-auto-profiles", {"load-auto-profiles",
OPT_CHOICE(lua_load_auto_profiles, {"no", 0}, {"yes", 1}, {"auto", -1}), OPT_CHOICE(lua_load_auto_profiles, {"no", 0}, {"yes", 1}, {"auto", -1}),
.flags = UPDATE_BUILTIN_SCRIPTS}, .flags = UPDATE_BUILTIN_SCRIPTS},