Skip to content

Commit

Permalink
Revert "console.lua: close with right click"
Browse files Browse the repository at this point in the history
This reverts commit ad0c29e.

This should be unnecessary now that the menu has a visible horizontal
and vertical hitbox, and was not discoverable anyway. Right click can be
useful even while the console is open to pause or open a context menu.
Requested in
#15145 (comment).
  • Loading branch information
guidocella authored and sfan5 committed Feb 17, 2025
1 parent 24cd11d commit 5dec4a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions DOCS/man/console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ Shift+TAB
Ctrl+l
Clear all log messages from the console.

MBTN_RIGHT
Hide the console.

MBTN_MID
Paste text (uses the primary selection on X11 and Wayland).

Expand Down
1 change: 0 additions & 1 deletion player/lua/console.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,6 @@ local function get_bindings()
{ 'ins', handle_ins },
{ 'shift+ins', function() paste(false) end },
{ 'mbtn_mid', function() paste(false) end },
{ 'mbtn_right', function() set_active(false) end },
{ 'left', function() prev_char() end },
{ 'ctrl+b', function() page_up_or_prev_char() end },
{ 'right', function() next_char() end },
Expand Down

0 comments on commit 5dec4a2

Please sign in to comment.