fixing various typos in text. (#1185)

This commit is contained in:
Didier Durand
2025-07-26 02:20:01 +02:00
committed by GitHub
parent e8eaa77bf1
commit 2c924b9fdb
8 changed files with 10 additions and 10 deletions

View File

@@ -270,7 +270,7 @@ func (m Model) GetContent() string {
return strings.Join(m.lines, "\n")
}
// calculateLine taking soft wraping into account, returns the total viewable
// calculateLine taking soft wrapping into account, returns the total viewable
// lines and the real-line index for the given yoffset.
func (m Model) calculateLine(yoffset int) (total, idx int) {
if !m.SoftWrap {