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
|
// to redraw the full screen or just the content. On a resize
|
||||||
// event, the full screen will always be redrawn.
|
// event, the full screen will always be redrawn.
|
||||||
func (s *Screen) ReflashScreen(clearScreen bool) {
|
func (s *Screen) ReflashScreen(clearScreen bool) {
|
||||||
|
s.DrawAllWindows()
|
||||||
|
|
||||||
if clearScreen {
|
if clearScreen {
|
||||||
s.DrawAllWindows()
|
|
||||||
s.DrawMsgBars()
|
s.DrawMsgBars()
|
||||||
s.ClearCommandArea()
|
s.ClearCommandArea()
|
||||||
} else {
|
|
||||||
s.DrawAllWindows()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue