diff --git a/mycroft/client/text/main.py b/mycroft/client/text/main.py index 59526cc052..c413193e75 100644 --- a/mycroft/client/text/main.py +++ b/mycroft/client/text/main.py @@ -840,6 +840,9 @@ def handle_cmd(cmd): lines = int(_get_cmd_param(cmd)) if lines < 1: lines = 1 + max_chat_area = curses.LINES - 7 + if lines > max_chat_area: + lines = max_chat_area cy_chat_area = lines elif "skills" in cmd: # List loaded skill