commit | a809085bff595080269599dbe788dd7fdf616ab4 | [log] [tgz] |
---|---|---|
author | Laurent Demailly <ldemailly@gmail.com> | Fri Apr 18 18:46:24 2025 +0000 |
committer | Gopher Robot <gobot@golang.org> | Mon Apr 21 12:30:57 2025 -0700 |
tree | 8cbd740a2fc2a2a892f38d6eaed49c948dec4d68 | |
parent | 5d2308b09df8e012ed012f73c878253d901b7f56 [diff] |
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.