File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1038,7 +1038,7 @@ def send_session_to_external_editor(self, filename=None):
10381038 current_line = lines [- 1 ][4 :]
10391039 else :
10401040 current_line = ""
1041- from_editor = [line for line in lines if line [:6 ] != "# OUT:" ]
1041+ from_editor = [line for line in lines if line [:6 ] != "# OUT:" and line [: 3 ] != "###" ]
10421042 if all (not line .strip () for line in from_editor ):
10431043 self .status_bar .message (
10441044 _ ("Session not reevaluated because saved file was blank" )
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ def process():
835835 yield line
836836 elif line .rstrip ():
837837 yield "# OUT: %s" % line
838- yield "###: %s" % self .current_line
838+ yield "### %s" % self .current_line
839839
840840 return "\n " .join (process ())
841841
You can’t perform that action at this time.
0 commit comments