Useful to close the console after it was opened with the mouse. Also fix the spacing of the previous line.
Showing the changes to player/lua/console.lua (1 of 1 file). Show all
Unified · Split
| @@ -1584,7 +1584,8 @@ local function get_bindings() · 1583 unmodified lines | ||
| 1584 | 1584 | { 'shift+del', handle_del }, |
| 1585 | 1585 | { 'ins', handle_ins }, |
| 1586 | 1586 | { 'shift+ins', function() paste(false) end }, |
| 1587 | − { 'mbtn_mid', function() paste(false, true) end }, | |
| 1587 | + { 'mbtn_mid', function() paste(false, true) end }, | |
| 1588 | + { 'mbtn_right', function() set_active(false) end }, | |
| 1588 | 1589 | { 'left', function() prev_char() end }, |
| 1589 | 1590 | { 'ctrl+b', function() page_up_or_prev_char() end }, |
| 1590 | 1591 | { 'right', function() next_char() end }, |