equal
deleted
inserted
replaced
497 attr = mapcolor(int(sattr), attr) |
497 attr = mapcolor(int(sattr), attr) |
498 _kernel32.SetConsoleTextAttribute(stdout, attr) |
498 _kernel32.SetConsoleTextAttribute(stdout, attr) |
499 orig(m.group(2), **opts) |
499 orig(m.group(2), **opts) |
500 m = re.match(ansire, m.group(3)) |
500 m = re.match(ansire, m.group(3)) |
501 finally: |
501 finally: |
502 # Explicity reset original attributes |
502 # Explicitly reset original attributes |
503 _kernel32.SetConsoleTextAttribute(stdout, origattr) |
503 _kernel32.SetConsoleTextAttribute(stdout, origattr) |