primitivus: fixed window resize (was blocked by paste detection)

This commit is contained in:
Goffi 2016-04-23 23:46:35 +02:00
commit 645ade7e73

View file

@ -384,7 +384,7 @@ class PrimitivusApp(QuickApp, InputHistory):
## 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")