Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-215617

Server does not correctly interpret arrow keys in terminal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.5, 21w06a
    • None
    • Ubuntu 20.04.2 LTS
      OpenJDK 64-Bit Server VM 11.0.10
    • Unconfirmed
    • (Unassigned)

      I believe this has always been an issue when running the server with the "nogui" flag.

      When entering a command into the console, arrow keys cannot be used as they result in the following text getting printed out:

      ^[[A ^[[B ^[[C ^[[D
      

      This makes it very difficult to enter any commands into the terminal as you cannot easily retrieve the last command using the up arrow, and cannot go backwards with the left arrow.

      Furthermore, the Home and End keys are also not usable as they result in:

      ^[[1~ ^[[4~
      

      The ability to use arrow keys in the terminal would be a very helpful addition to all those who host their own Minecraft server.

            Unassigned Unassigned
            TikoluX Wiktor Owczarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: