restore term when receive signal (#200)

* restore term when receive signal

add `CaptureExitSignal` to capture exit signals and exit gracefull(disabled by default)

* update deps
6 files changed
tree: 3fd2cd4a3f95502d46f99fa779c0c21ac61273da
  1. doc/
  2. example/
  3. runes/
  4. .gitignore
  5. .travis.yml
  6. ansi_windows.go
  7. CHANGELOG.md
  8. complete.go
  9. complete_helper.go
  10. complete_segment.go
  11. complete_segment_test.go
  12. go.mod
  13. go.sum
  14. history.go
  15. LICENSE
  16. operation.go
  17. password.go
  18. rawreader_windows.go
  19. readline.go
  20. readline_test.go
  21. README.md
  22. remote.go
  23. runebuf.go
  24. runes.go
  25. runes_test.go
  26. search.go
  27. std.go
  28. std_windows.go
  29. term.go
  30. term_bsd.go
  31. term_linux.go
  32. term_nosyscall6.go
  33. term_unix.go
  34. term_windows.go
  35. terminal.go
  36. utils.go
  37. utils_test.go
  38. utils_unix.go
  39. utils_windows.go
  40. vim.go
  41. windows_api.go
README.md

Build Status Software License Version GoDoc OpenCollective OpenCollective

A powerful readline library in Linux macOS Windows Solaris AIX

Guide

Repos using readline

cockroachdb robertkrimen/otto empire mehrdadrad/mylg knq/usql youtube/doorman bom-d-van/harp abiosoft/ishell Netflix/hal-9001 docker/go-p9p

Feedback

If you have any questions, please submit a github issue and any pull requests is welcomed :)

Backers

Love Readline? Help me keep it alive by donating funds to cover project expenses!
[Become a backer]

Sponsors

Become a sponsor and get your logo here on our Github page. [Become a sponsor]