1
0
mirror of https://github.com/gdamore/tcell.git synced 2025-04-26 13:48:53 +08:00

fixes #683 views: remove unused contentV member

This commit is contained in:
Garrett D'Amore 2024-02-11 17:34:10 -08:00
parent 0393f5eb0b
commit c3711de418

View File

@ -1,4 +1,4 @@
// Copyright 2016 The Tcell Authors // Copyright 2024 The Tcell Authors
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use file except in compliance with 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 // CellView is a flexible view of a CellModel, offering both cursor
// management and a panning. // management and a panning.
type CellView struct { type CellView struct {
port *ViewPort port *ViewPort
view View view View
content Widget content Widget
contentV *ViewPort style tcell.Style
style tcell.Style lines []string
lines []string model CellModel
model CellModel once sync.Once
once sync.Once
WidgetWatchers WidgetWatchers
} }