mojira.dev
MC-124817

Tab-completion keeps inserting same value when closing suggestions list with ESC

The bug

The tab-completion of command arguments keeps inserting the same value when you close the suggestions by pressing the ESC key.

How to reproduce

  1. Type or copy the following

    /give
  2. Press ↹ (TAB)

  3. Press ESC and then TAB twice
    → ❌ It inserts a value; you can repeat this steps as often as you want

Linked issues

Attachments

Comments 11

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 21w17a.

1 more comments

Can confirm in 1.17.1. Video attached.

Can confirm in 1.18.2 and 22w16b.

Can confirm in 1.19 and 22w24a.

Can confirm in 1.19.2.

Can confirm in 1.20.4 and 24w13a

marcono1234

(Unassigned)

Confirmed

Commands

brigadier, command-syntax-help, tab-completion

Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w20c, Minecraft 1.13-pre3, Minecraft 1.13, ..., 1.19, 22w24a, 1.19.2, 1.19.3, 1.21.4

Retrieved