Fix prompts not displaying because of infobar

This commit is contained in:
Zachary Yedidia
2016-08-31 11:52:59 -04:00
parent 4972db4bf6
commit 2e264b342a

View File

@@ -347,7 +347,7 @@ func (m *Messenger) DisplaySuggestions(suggestions []string) {
func (m *Messenger) Display() {
_, h := screen.Size()
if m.hasMessage {
if !m.hasPrompt {
if !m.hasPrompt && !globalSettings["infobar"].(bool) {
return
}
runes := []rune(m.message + m.response)