Skip to content

Commit

Permalink
Remote client: Separate log messages with a small vertical space
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Dec 12, 2024
1 parent 3f8236f commit 7dfa72c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyder/plugins/remoteclient/widgets/connectionstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ def add_log(self, log: RemoteClientLog):
self._copy_logs_button.setEnabled(True)

formatted_log = (
LOG_LEVEL_TO_FMT_STRING[log["level"]] + " " + log["message"]
# Message
f"<p>{LOG_LEVEL_TO_FMT_STRING[log['level']]} {log['message']}</p>"
# Small vertical space to separate logs
f"<div style='font-size: 2pt;font-weight: normal;'><p></p></div>"
)

# Move cursor so that new logs are always shown at the end
Expand Down

0 comments on commit 7dfa72c

Please sign in to comment.