Code Monkey home page Code Monkey logo

Comments (10)

cronvel avatar cronvel commented on July 20, 2024

@davidgatti Thanks for the praise! ;)

  1. For password, you can set the option echo to false. But that's right, it would be nice to be able to replace characters by * or whatever character instead.

  2. Are you still talking about .inputField() here?

from terminal-kit.

cronvel avatar cronvel commented on July 20, 2024

@davidgatti I screwed up my commit message and referenced the bad issue :s
I just commited a version with a new option to .inputField(): echoChar, it solves your 1.

from terminal-kit.

davidgatti avatar davidgatti commented on July 20, 2024

OK I will try your suggestion for Q1. About Q2 yes, I'm still referring to . inputField() :)

from terminal-kit.

davidgatti avatar davidgatti commented on July 20, 2024

I see the Password support, it works fantastic! :D

from terminal-kit.

davidgatti avatar davidgatti commented on July 20, 2024

Just a friendly ping, did you have a chance to think about the truncate capabilities? :)

from terminal-kit.

cronvel avatar cronvel commented on July 20, 2024

I will add this to my todo-list ;)

from terminal-kit.

davidgatti avatar davidgatti commented on July 20, 2024

😍

from terminal-kit.

joselevelsup avatar joselevelsup commented on July 20, 2024

@davidgatti where do you see the password support?

from terminal-kit.

cronvel avatar cronvel commented on July 20, 2024

@joselevelsup Add echoChar: '*' to the options object, or whatever you want to be echoed instead of the user input.

from terminal-kit.

cronvel avatar cronvel commented on July 20, 2024

@joselevelsup Alternatively, use echo: false if you don't want anything to be displayed at all.

from terminal-kit.

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.