GithubHelp home page GithubHelp logo

tinyconsole's People

Contributors

hsaturn avatar imrenor avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tinyconsole's Issues

support for int?

Hello and thank you for your work,

would it be possible to support int as well?

suggestion: add TinyString& operator +=(int);

This makes the unit usable on RP2040 (earlephilhower's Arduino board adaption) as well.

Would like to contribute

Hi Francois,
I've recently started using your TinyConsole library and love it. Thanks for your work!
My main goal is to provide a telnet based CLI for my ESP projects.
I'm on Win10, using MobaXTerm.
If you don't mind, I'd like to contribute to the library and work on some features like:

  1. Add full support for xterm over telnet. I have TinyConsole working over a websocket stream, but control commands are currently very sketchy. Need to understand and comply with telnet protocol.

  2. Add callback for ASCII C0 control characters. See my branch
    The main goal is to provide an api for a command line interpreter to be able to manipulate input and cursor in response to C0 characters. A good example is tab completion.
    Current TODO is to solve passing input and cursor to C0 callback. E.g. as parameters to callback function. I'd like to know your opinion on this one.

  3. Focus a bit more on being instance based instead of the global TinyConsole approach. In my scenario each telnet session should have their own TinyConsole instance. Serial TinyConsole access is optional. I was thinking of adding support for define NO_GLOBAL_TINYCONSOLE on top of current NO_GLOBALS and NO_GLOBAL_SERIAL. Also need to make sure that an instance and related resources can be fully destroyed once the telnet session ends.

  4. Make debug option better. Currently it is only possible by changing TinyConsole.cpp. Add an external way of turning debug on and off. Possibly thru a variable. Downside is that debug code is always compiled, but I don't see that as a big problem on an ESP (takes only a small flash space).

As a start I'm adding a small PR for handling Shift+Backspace ASCII 127 (default backspace for some terminal clients).

Let me know your thoughts.
Thanks,
Norbert

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.