Fixes #3145
Changes:
- View the previous message in the chat by calling function bringPreviousMessage().
- When UP_KEY_CODE or DOWN_KEY_CODE is the keyCode user entered it will call the conditions accordingly.
Demo Link: https://pr-3146-fossasia-susi-web-chat.surge.sh
Screenshots of the change:

该提问来源于开源项目:fossasia/susi.ai