From 3ef07c0056a2b7df08acca988b1fc1ef27c54cf4 Mon Sep 17 00:00:00 2001 From: aoright <102943475+aoright@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:26:48 +0800 Subject: [PATCH] docs: fix grammar in SetOption doc comment Signed-off-by: aoright <102943475+aoright@users.noreply.github.com> --- term.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/term.go b/term.go index 0aab19c..c9329ac 100644 --- a/term.go +++ b/term.go @@ -39,7 +39,7 @@ func (t *Term) Read(b []byte) (int, error) { return n, nil } -// SetOption takes one or more option function and applies them in order to Term. +// SetOption takes one or more option functions and applies them in order to Term. func (t *Term) SetOption(options ...func(*Term) error) error { for _, opt := range options { if err := opt(t); err != nil {