From 45cb6e05c67652ff600437638f1dbc1c51f82d82 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 12 Jan 2017 03:59:30 +0100 Subject: [PATCH] Fixes the logger plugin, patch by Eric Badger --- terminatorlib/plugins/logger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/terminatorlib/plugins/logger.py b/terminatorlib/plugins/logger.py index 86ad2863..78148403 100644 --- a/terminatorlib/plugins/logger.py +++ b/terminatorlib/plugins/logger.py @@ -44,6 +44,7 @@ class Logger(plugin.MenuItem): """ Final function to write a file """ content = terminal.get_text_range(row_start, col_start, row_end, col_end, lambda *a: True) + content = content[0] fd = self.loggers[terminal]["fd"] # Don't write the last char which is always '\n' fd.write(content[:-1])