Skip to content

Bowery/prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fa82799 · Sep 16, 2019

History

60 Commits
Apr 19, 2019
Jul 8, 2015
Feb 19, 2017
Apr 19, 2019
Sep 1, 2017
Feb 19, 2017
Apr 19, 2019
Feb 18, 2017
Dec 22, 2014
Feb 19, 2017
Feb 19, 2017
Apr 19, 2019
Jun 30, 2017
Jul 8, 2015
Apr 19, 2019
Jul 8, 2015
Jul 8, 2015
Sep 16, 2019
Apr 19, 2019
Feb 19, 2017

Repository files navigation

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.

About

Cross platform prompting library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages