changeset 1952:2c1a1b56dd22

primitivus: fixed window resize (was blocked by paste detection)
author Goffi <goffi@goffi.org>
date Sat, 23 Apr 2016 23:46:35 +0200
parents ac89f455fcbf
children f6d560cabeee
files frontends/src/primitivus/primitivus
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/primitivus/primitivus	Sat Apr 23 23:30:06 2016 +0200
+++ b/frontends/src/primitivus/primitivus	Sat Apr 23 23:46:35 2016 +0200
@@ -384,7 +384,7 @@
         ## paste detection/handling
         if (len(input_) > 1 and                  # XXX: it may be needed to increase this value if buffer
             not isinstance(input_[0], tuple) and #      or other things result in several chars at once
-            not 'window' in input_[0]):          #      (e.g. using Primitivus through ssh). Need some testing
+            not 'window resize' in input_):      #      (e.g. using Primitivus through ssh). Need some testing
                                                  #      and experience to adjust value.
             if input_[0] == 'begin paste' and not self._bracketed_paste:
                 log.info(u"Bracketed paste mode detected")