mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
change terminal wrapper library from blessing to blessed to support running mach test-wpt on windows. (#35327)
Signed-off-by: rayguo17 <rayguo17@gmail.com>
This commit is contained in:
parent
e0689c1f0b
commit
18b43d48fc
4 changed files with 9 additions and 9 deletions
|
@ -238,8 +238,8 @@ class ServoFormatter(mozlog.formatters.base.BaseFormatter, ServoHandler):
|
|||
self.clear_eol = DEFAULT_CLEAR_EOL_CODE
|
||||
|
||||
try:
|
||||
import blessings
|
||||
self.terminal = blessings.Terminal()
|
||||
import blessed
|
||||
self.terminal = blessed.Terminal()
|
||||
self.move_up = self.terminal.move_up
|
||||
self.clear_eol = self.terminal.clear_eol
|
||||
except Exception as exception:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue