Skip to content

Commit

Permalink
Implement the runtime check for UIA console by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofdusk committed Jul 2, 2021
1 parent 44632ea commit 3248a3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/UIAUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ def _shouldUseUIAConsole(hwnd: int) -> bool:
else:
# #7497: the UIA implementation in old conhost is incomplete, therefore we
# should ignore it.
# When the UIA implementation is improved, the below line will be replaced
# with a call to _isImprovedConhostTextRangeAvailable.
return False
return _isImprovedConhostTextRangeAvailable(hwnd)


@lru_cache(maxsize=10)
Expand Down

0 comments on commit 3248a3c

Please sign in to comment.