remove line additions in pipe and shell commands
@@ -206,8 +206,6 @@ class InteractivePrompt(app.controller.Controller):
output, message = self.subExecute.get(cmdLine[0])(
cmdLine[1:], data)
output = tb.doDataToLines(output)
- if tb.selectionMode == app.selectable.kSelectionLine:
- output.append('')
tb.editPasteLines(tuple(output))
tb.setMessage(message)
else:
@@ -221,8 +219,6 @@ class InteractivePrompt(app.controller.Controller):
tb.setMessage(message)
if not len(lines):
lines.append('')
- if tb.selectionMode == app.selectable.kSelectionLine:
- lines.append('')
tb.editPasteLines(tuple(lines))
else:
command = self.commands.get(cmd, self.unknownCommand)
