Skip to content

Allow console command and level filename autocomplete from 1 character#321

Merged
rafalh merged 4 commits intorafalh:masterfrom
GooberRF:1charautocomplete
Feb 2, 2025
Merged

Allow console command and level filename autocomplete from 1 character#321
rafalh merged 4 commits intorafalh:masterfrom
GooberRF:1charautocomplete

Conversation

@GooberRF
Copy link
Copy Markdown
Contributor

@GooberRF GooberRF commented Dec 11, 2024

Current code allows autocompleting of console commands from 2 characters, and level filenames from 3 characters. This changes the minimum for both to just 1 character.

Makes working with console commands and maps slightly easier in some cases. I don't know of a downside to this (please correct me if I am missing something).

@GooberRF GooberRF changed the title Allow console command autocomplete from 1 character Allow console command and level filename autocomplete from 1 character Dec 11, 2024
Comment thread game_patch/os/autocomplete.cpp Outdated
Comment thread game_patch/os/autocomplete.cpp Outdated
GooberRF and others added 2 commits December 11, 2024 02:26
Co-authored-by: is-this-c <87069698+is-this-c@users.noreply.github.com>
Co-authored-by: is-this-c <87069698+is-this-c@users.noreply.github.com>
@rafalh rafalh merged commit 881f29a into rafalh:master Feb 2, 2025
@GooberRF GooberRF deleted the 1charautocomplete branch February 3, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants