From c4cef2d6e4cbacb44eec678671212ddcbda33e8c Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Thu, 20 Mar 2025 23:35:28 -0700 Subject: [PATCH] Update NthPreviousEntry->At in godoc too --- terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.go b/terminal.go index f7b5195..4e8ad28 100644 --- a/terminal.go +++ b/terminal.go @@ -950,7 +950,7 @@ func (s *stRingBuffer) Add(a string) { } } -// NthPreviousEntry returns the value passed to the nth previous call to Add. +// At returns the value passed to the nth previous call to Add. // If n is zero then the immediately prior value is returned, if one, then the // next most recent, and so on. If such an element doesn't exist then ok is // false.