Git Product home page Git Product logo

Comments (4)

Tiiffi avatar Tiiffi commented on August 23, 2024 2

@IPlayZed you are righ.

Catching arrow keys etc. on console requires a bit more involved and platform specific code and that is the reason I haven't implemented it.

My goal was to keep the source code relatively simple and concise. I also tried to avoid 3rd party library dependencies.

Proper console inputs with arrow key and tab support would require either TUI library like Curses or alternatively platform specific implementations for every relevant platform.

from mcrcon.

IPlayZed avatar IPlayZed commented on August 23, 2024 1

This is pretty much normal, if those keystrokes are not handled by the programmer. For instance try the telnet command and do the same thing, it will yield the same results. Right now you can only use delete (backwards, or the Del button on your keyboard) to correct the input. (But correct me if I am wrong.) I hope this explained it a bit. :D

from mcrcon.

sludin avatar sludin commented on August 23, 2024

FWIW I just added a pull request to incorporate readline for linux/osx (don't know enough WIN32 any more to even be dangerous). I think this takes care of this and issue #51 as well.

from mcrcon.

Tiiffi avatar Tiiffi commented on August 23, 2024

Related to #51

from mcrcon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.