History

console.lua: expand the first completion on Enter

If you run a command without manually selecting a completion, select the first one. e.g. set vo gn runs set vo gpu-next.

Guido Cella committed 1 year ago

Commit 2f271a91 parent 57a6f122 files · +8 −2Browse files

Showing the changes to DOCS (1 of 2 files). Show all

Unified · Split

DOCS/man/console.rst+2−1
@@ -15,7 +15,8 @@ ESC and Ctrl+[ · 14 unmodified lines
1515 Hide the console.
1616
1717 ENTER, Ctrl+j and Ctrl+m
18− Run the typed command.
18+ Expand the first completion suggestion if present and if none was selected,
19+ and run the typed command.
1920
2021 Shift+ENTER
2122 Type a literal newline character.

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