diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py index ff07a642f1..877643167b 100644 --- a/glances/outputs/glances_curses.py +++ b/glances/outputs/glances_curses.py @@ -869,12 +869,16 @@ def display_plugin(self, plugin_stats, y = display_y for m in plugin_stats['msgdict']: # New line - if m['msg'].startswith('\n'): - # Go to the next line - y += 1 - # Return to the first column - x = display_x - continue + try: + if m['msg'].startswith('\n'): + # Go to the next line + y += 1 + # Return to the first column + x = display_x + continue + except: + # Avoid exception (see issue #1692) + pass # Do not display outside the screen if x < 0: continue