diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 053d1e978b..b42f8eb888 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -174,6 +174,10 @@ class TerminalFilter(object): | |||
174 | self.rows, self.columns = self.getTerminalColumns() | 174 | self.rows, self.columns = self.getTerminalColumns() |
175 | except: | 175 | except: |
176 | self.cuu = None | 176 | self.cuu = None |
177 | if not self.cuu: | ||
178 | self.interactive = False | ||
179 | bb.note("Unable to use interactive mode for this terminal, using fallback") | ||
180 | return | ||
177 | console.addFilter(InteractConsoleLogFilter(self, format)) | 181 | console.addFilter(InteractConsoleLogFilter(self, format)) |
178 | errconsole.addFilter(InteractConsoleLogFilter(self, format)) | 182 | errconsole.addFilter(InteractConsoleLogFilter(self, format)) |
179 | 183 | ||