# HG changeset patch # User Goffi # Date 1461447995 -7200 # Node ID 2c1a1b56dd22421be6a8166c57046f84cd76a240 # Parent ac89f455fcbf4d9893e3a09fe670db78a6606f18 primitivus: fixed window resize (was blocked by paste detection) diff -r ac89f455fcbf -r 2c1a1b56dd22 frontends/src/primitivus/primitivus --- 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")