From b3b2cc44fa783c1575b3e229c79f2977f75a57c1 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sun, 8 Dec 2019 03:16:10 +1100 Subject: console.lua: add this script Merged from mpv-repl git repo commit 5ea2bf64f9c239f0326b02. Some changes were made on top of it: - Tabs were converted to 4 spaces indentation (plus some manual indentation fixes in some places). - All user-visible mentions of "repl" were renamed to "console". - The README was converted to a manpage (with heavy changes, some additions taken from stats.rst; rossy converted the key bindings table to RST). - The method to change the default key binding was changed. - Change minor detail about "font" default value setting (not a functional change). - Integrate into the player as builtin script, including an option to prevent loading it. Above changes and commit message done by wm4. Signed-off-by: wm4 --- player/lua.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player/lua.c') diff --git a/player/lua.c b/player/lua.c index 63b9b1f8c1..69977dfd42 100644 --- a/player/lua.c +++ b/player/lua.c @@ -72,6 +72,9 @@ static const char * const builtin_lua_scripts[][2] = { }, {"@stats.lua", # include "player/lua/stats.inc" + }, + {"@console.lua", +# include "player/lua/console.inc" }, {0} }; -- cgit v1.2.3