From c3711de418bc62d5b641acbb38bbe28815067ec2 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 11 Feb 2024 17:34:10 -0800 Subject: [PATCH] fixes #683 views: remove unused contentV member --- views/cellarea.go | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/views/cellarea.go b/views/cellarea.go index 4d5594ba..8b2860d3 100644 --- a/views/cellarea.go +++ b/views/cellarea.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Tcell Authors +// Copyright 2024 The Tcell Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use file except in compliance with the License. @@ -33,14 +33,13 @@ type CellModel interface { // CellView is a flexible view of a CellModel, offering both cursor // management and a panning. type CellView struct { - port *ViewPort - view View - content Widget - contentV *ViewPort - style tcell.Style - lines []string - model CellModel - once sync.Once + port *ViewPort + view View + content Widget + style tcell.Style + lines []string + model CellModel + once sync.Once WidgetWatchers }