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
15771577 if active then
15781578 repl_active = true
15791579 insert_mode = false
1580− mp.enable_key_bindings('console-input', 'allow-hide-cursor+allow-vo-dragging')
15811580 define_key_bindings()
15821581
15831582 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