Detect unsupported DFT terminals

This commit is contained in:
Andrew Kay
2020-05-12 20:24:08 -05:00
parent 52a05ad1df
commit c1b8dc11c4
5 changed files with 50 additions and 19 deletions

View File

@@ -93,3 +93,6 @@ class Terminal:
cursor_blink=self.display.cursor_blink)
return control
class UnsupportedTerminalError(Exception):
"""Unsupported terminal."""