Skip to content
Myr

Fixed some small bugs on windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 0859d19 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:click/_winconsole.py+2 added-1 removed
9 unmodified lines
1011import io12import sys13import zlib14import time15import ctypes16from click._compat import _NonClosingTextIOWrapper, text_type, PY217from ctypes import byref, POINTER, pythonapi, c_int, c_char, c_char_p, \18 c_void_p, py_object, c_ssize_t, c_ulong, windll, WINFUNCTYPE
72 unmodified lines
91 def __init__(self, handle):92 self.handle = handle9394 def isatty(self):94 super(WindowsConsoleRawIOBase, self).isatty()95 io.RawIOBase.isatty(self)96 return True979899class _WindowsConsoleReader(_WindowsConsoleRawIOBase):
160 unmodified lines