New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/Bowery/prompt

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Bowery/prompt

  • v0.0.0-20190916142128-fa8279994f75
  • Source
  • Go
  • Socket score

Version published
Created
Source

Prompt

Circle CI

GoDoc

Prompt is a cross platform line-editing prompting library. Read the GoDoc page for more info and for API details.

Features

  • Keyboard shortcuts in prompts
  • History support
  • Secure password prompt
  • Custom prompt support
  • Fallback prompt for unsupported terminals
  • ANSI conversion for Windows

Todo

  • Multi-line prompt as a Terminal option
  • Make refresh less jittery on Windows(possible reason)
  • Multi-byte character support on Windows
  • AnsiWriter should execute the equivalent ANSI escape code functionality on Windows
  • Support for more ANSI escape codes on Windows.
  • More keyboard shortcuts from Readlines shortcut list

Contributing

Make sure Go is setup and running the latest release version, and make sure your GOPATH is setup properly.

Follow the guidelines here.

Please be sure to gofmt any code before doing commits. You can simply run gofmt -w . to format all the code in the directory.

Lastly don't forget to add your name to CONTRIBUTORS.md

License

Prompt is MIT licensed, details can be found here.

FAQs

Package last updated on 16 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc