Skip to content

Tab Completion Support #61

@remiscarlet

Description

@remiscarlet

Hey there,

Not sure if this is even possible as I'm not sure if pipes are sufficient enough of a mechanism to support this.

Request

Tab completion

Description

Running

  • java -jar paper.jar
    drops us into a prompt where we can tab-complete available commands:
    image

However, running the equivalent mc-server-runner command

  • ./mc-server-runner java -jar paper.jar
    does not support tab-completion.
    image

While sending full commands is supported with docker attach, it'd be useful to be able to leverage the graceful shutdown handling of this helper while also being able to have full console functionality.

Extra Info

It doesn't quite operate the same as it does some extra things beyond just pipes, but fwiw I have successfully started a server with raw java -jar commands and used reptyr to successfully take over the IO with tab-complete working. Basically I'm not sure if tab completion needs something that reptyr does that goes beyond just redirecting pipes etc.

btw thanks for all your work on these MC related images. They're awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions