Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
9b9d58f0
Kaydet (Commit)
9b9d58f0
authored
Haz 28, 2018
tarafından
Thomas A Caswell
Kaydeden (comit)
Steve Dower
Haz 28, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31546: Fix input hook integration (GH-7978)
üst
4d26c8a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
2018-06-27-23-33-54.bpo-31546.zJlap-.rst
...S.d/next/Windows/2018-06-27-23-33-54.bpo-31546.zJlap-.rst
+3
-0
myreadline.c
Parser/myreadline.c
+3
-0
No files found.
Misc/NEWS.d/next/Windows/2018-06-27-23-33-54.bpo-31546.zJlap-.rst
0 → 100644
Dosyayı görüntüle @
9b9d58f0
Restore running PyOS_InputHook while waiting for user input at the prompt.
The restores integration of interactive GUI windows (such as Matplotlib
figures) with the prompt on Windows.
Parser/myreadline.c
Dosyayı görüntüle @
9b9d58f0
...
...
@@ -114,6 +114,9 @@ _PyOS_WindowsConsoleReadline(HANDLE hStdIn)
wbuf
=
wbuf_local
;
wbuflen
=
sizeof
(
wbuf_local
)
/
sizeof
(
wbuf_local
[
0
])
-
1
;
while
(
1
)
{
if
(
PyOS_InputHook
!=
NULL
)
{
(
void
)(
PyOS_InputHook
)();
}
if
(
!
ReadConsoleW
(
hStdIn
,
&
wbuf
[
total_read
],
wbuflen
-
total_read
,
&
n_read
,
NULL
))
{
err
=
GetLastError
();
goto
exit
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment