History

console.lua: don't enable the console-input input section

https://github.com/rossy/mpv-repl enabled and disabled its keybindings with input sections (define-section, mp.enable_key_bindings and mp.disable_key_bindings), but when wm4 merged it in mpv, he changed it to use mp.add_forced_key_binding and mp.remove_key_binding because he deprecated input sections, but he forgot to remove the mp.enable_key_bindings line. Remove it now.

Guido Cella committed 2 years ago

Commit 5158a3d1 parent 22103b81 file · +0 −1Browse files

Unified · Split

player/lua/console.lua+0−1
@@ -1577,7 +1577,6 @@ set_active = function (active) · 1576 unmodified lines
1577 if active then1577 if active then
1578 repl_active = true1578 repl_active = true
1579 insert_mode = false1579 insert_mode = false
1580 mp.enable_key_bindings('console-input', 'allow-hide-cursor+allow-vo-dragging')
1581 define_key_bindings()1580 define_key_bindings()
1582 1581
1583 if not input_caller then1582 if not input_caller then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t