mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Make golint happy
This commit is contained in:
@@ -116,7 +116,6 @@ func (r *renderer) flush() {
|
||||
// Clear any lines we painted in the last render.
|
||||
if r.linesRendered > 0 {
|
||||
for i := r.linesRendered - 1; i > 0; i-- {
|
||||
|
||||
// Check if we should skip rendering for this line. Clearing the
|
||||
// line before painting is part of the standard rendering routine.
|
||||
if _, exists := r.ignoreLines[i]; !exists {
|
||||
@@ -211,7 +210,6 @@ func (r *renderer) setIgnoredLines(from int, to int) {
|
||||
moveCursor(out, r.linesRendered, 0) // put cursor back
|
||||
r.out.Write(out.Bytes())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// clearIgnoredLines returns control of any ignored lines to the standard
|
||||
|
||||
Reference in New Issue
Block a user