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
d24ff44f
Kaydet (Commit)
d24ff44f
authored
Haz 21, 2000
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document .timeout() method and .typeahead() function
üst
97311bbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
libcurses.tex
Doc/lib/libcurses.tex
+22
-0
No files found.
Doc/lib/libcurses.tex
Dosyayı görüntüle @
d24ff44f
...
...
@@ -342,6 +342,18 @@ Returns the value of the environment variable TERM, truncated to 14
characters.
\end{funcdesc}
\begin{funcdesc}
{
typeahead
}{
fd
}
Specifies that the file descriptor
\var
{
fd
}
be used for typeahead
checking. If
\var
{
fd
}
is -1, then no typeahead checking is done.
The curses library does ``line-breakout optimization'' by looking for
typeahead periodically while updating the screen. If input is found,
and it is coming from a tty, the current update is postponed until
refresh or doupdate is called again, allowing faster response to
commands typed in advance. This function allows specifying a different
file descriptor for typeahead checking.
\end{funcdesc}
\begin{funcdesc}
{
unctrl
}{
ch
}
Returns a string which is a printable representation of the character
\var
{
ch
}
. Control characters are displayed as a caret followed by the
...
...
@@ -780,6 +792,16 @@ Touches all locations in ancestors of the window that have been changed in
the window.
\end{methoddesc}
\begin{methoddesc}
{
timeout
}{
delay
}
Sets blocking or non-blocking read behaviour for the window. If
\var
{
delay
}
is negative, blocking read is used, which will wait
indefinitely for input). If
\var
{
delay
}
is zero, then non-blocking
read is used, and -1 will be returned by
\method
{
getch()
}
if no input
is waiting. If
\var
{
delay
}
is positive, then
\method
{
getch()
}
will
block for
\var
{
delay
}
milliseconds, and return -1 if there is still no
input at the end of that time.
\end{methoddesc}
\begin{methoddesc}
{
touchline
}{
start, count
}
Pretend
\var
{
count
}
lines have been changed, starting with line
\var
{
start
}
.
...
...
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