Simplified method code
This commit is contained in:
parent
43b9953c80
commit
70ad392945
|
@ -69,12 +69,11 @@ func (s *Screen) ClearCommandArea() {
|
|||
// to redraw the full screen or just the content. On a resize
|
||||
// event, the full screen will always be redrawn.
|
||||
func (s *Screen) ReflashScreen(clearScreen bool) {
|
||||
if clearScreen {
|
||||
s.DrawAllWindows()
|
||||
|
||||
if clearScreen {
|
||||
s.DrawMsgBars()
|
||||
s.ClearCommandArea()
|
||||
} else {
|
||||
s.DrawAllWindows()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue