term: support pluggable history Expose a new History interface that allows replacement of the default ring buffer to customize what gets added or not; as well as to allow saving/restoring history on either the default ringbuffer or a custom replacement. Fixes golang/go#68780 Change-Id: I7e61dc6bb438749c8502223705518ef8ff9025b4 GitHub-Last-Rev: 621281355fd577da77f135c4e15552eba3ead584 GitHub-Pull-Request: golang/term#20 Reviewed-on: https://go-review.googlesource.com/c/term/+/659835 Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Jorropo <jorropo.pgm@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jorropo <jorropo.pgm@gmail.com> Reviewed-by: Austin Clements <austin@google.com>
This repository provides Go terminal and console support packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/term.
The main issue tracker for the term repository is located at https://go.dev/issues. Prefix your issue with “x/term:” in the subject line, so it is easy to find.