From 812f74ffffd12bfdcf9f248d6170194b24fbbfa3 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 6 Nov 2024 18:26:15 -0500 Subject: [PATCH] chore: remove unused YPosition field from viewport.Model --- viewport/viewport.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/viewport/viewport.go b/viewport/viewport.go index 5f5a077..3246478 100644 --- a/viewport/viewport.go +++ b/viewport/viewport.go @@ -57,10 +57,6 @@ type Model struct { // YOffset is the vertical scroll position. YOffset int - // YPosition is the position of the viewport in relation to the terminal - // window. It's used in high performance rendering only. - YPosition int - // Style applies a lipgloss style to the viewport. Realistically, it's most // useful for setting borders, margins and padding. Style lipgloss.Style