From 3b23c097a4438d7098584e9535a18b027a6fe4fd Mon Sep 17 00:00:00 2001 From: jsbautista Date: Tue, 27 Aug 2024 13:19:10 -0500 Subject: [PATCH] Add new behavior to \n --- qtconsole/ansi_code_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtconsole/ansi_code_processor.py b/qtconsole/ansi_code_processor.py index c5492a7c..8fc8a795 100644 --- a/qtconsole/ansi_code_processor.py +++ b/qtconsole/ansi_code_processor.py @@ -147,7 +147,7 @@ def split_string(self, string): if last_char is not None: self.actions.append(NewLineAction('newline')) - yield last_char + yield None def set_csi_code(self, command, params=[]): """ Set attributes based on CSI (Control Sequence Introducer) code.