Simplified method code

This commit is contained in:
sloumdrone 2019-05-31 22:41:48 -07:00
parent 43b9953c80
commit 70ad392945
1 changed files with 2 additions and 3 deletions

View File

@ -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) {
s.DrawAllWindows()
if clearScreen {
s.DrawAllWindows()
s.DrawMsgBars()
s.ClearCommandArea()
} else {
s.DrawAllWindows()
}
}