mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
update potentially conflicting variable name
This commit is contained in:
@@ -20,9 +20,9 @@ type GridCursor struct {
|
||||
isScrolling bool // toggled when actively scrolling
|
||||
}
|
||||
|
||||
func NewGridCursor(connector string) *GridCursor {
|
||||
func NewGridCursor(connectorName string) *GridCursor {
|
||||
return &GridCursor{
|
||||
cSource: enabledConnectors[connector](),
|
||||
cSource: enabledConnectors[connectorName](),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user