teeworlds icon indicating copy to clipboard operation
teeworlds copied to clipboard

Increase size for maplist entries to 128

Open Robyt3 opened this issue 3 years ago • 1 comments

Increase size for maplist entries to from 32 to 128. This still works in the console autocompletion:

screenshot_2022-02-16_23-12-42

Unusualy names like 127 times the letter m don't fit in the autocompletion, though. ~~The last commit at least fixes the autocompletion scrolling going back and forth on overlong entries.~~ EDIT: This commit has been moved to #3150 to avoid conflicts.

Do not add maps with longer names to the map list, as those map names would otherwise appear truncated to the client and they can't load the map by autocompleting in that case.

See #1972.

Robyt3 avatar Feb 16 '22 22:02 Robyt3

Should we decrease

https://github.com/teeworlds/teeworlds/blob/0a02e13dc071fb91ae67ad63731d66f135fd1441/src/engine/server/server.h#L81

accordingly?

Robyt3 avatar Feb 16 '22 22:02 Robyt3