Display messages in the order they were sent
Rather than displaying messages most-recent-first in the message box, display them most-recent-last (which feels more natural)
This commit is contained in:
parent
ce3730ba3a
commit
296f73a4d6
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ cursorPosition game
|
||||||
= showCursor Resource.Character (game ^. characterPosition . loc)
|
= showCursor Resource.Character (game ^. characterPosition . loc)
|
||||||
|
|
||||||
drawMessages :: MessageHistory -> Widget Name
|
drawMessages :: MessageHistory -> Widget Name
|
||||||
drawMessages = txtWrap . (<> " ") . unwords . oextract
|
drawMessages = txtWrap . (<> " ") . unwords . reverse . oextract
|
||||||
|
|
||||||
drawPromptState :: GamePromptState m -> Widget Name
|
drawPromptState :: GamePromptState m -> Widget Name
|
||||||
drawPromptState NoPrompt = emptyWidget
|
drawPromptState NoPrompt = emptyWidget
|
||||||
|
|
Loading…
Reference in a new issue