Skip to content

Commit

Permalink
IPython console: Improve message when kernel can't be interrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Dec 21, 2022
1 parent b579034 commit 0645e52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spyder/plugins/ipythonconsole/widgets/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,9 @@ def interrupt_kernel(self):
super(ShellWidget, self).interrupt_kernel()
else:
self._append_html(
_("The kernel appears to be dead, so it can't be interrupted. "
"Please open a new console to keep working.")
_("<br><br>The kernel appears to be dead, so it can't be "
"interrupted. Please open a new console to keep "
"working.<br>")
)

def execute(self, source=None, hidden=False, interactive=False):
Expand Down

0 comments on commit 0645e52

Please sign in to comment.