Skip to content

Commit 80ab9ff

Browse files
committed
use head3 instead of item for getc extra text
1 parent b982e3d commit 80ab9ff

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ my $line = $fh.get;
2929
Read a single character from the input stream or return Nil. The operation will block
3030
for at least one character to be available, but there are a few caveats for this:
3131
32-
=item Buffering terminals
33-
34-
Using getc to get a single keypress from a terminal will only work properly if
35-
you've set the terminal to "unbuffered". Otherwise the terminal will wait for
36-
the return key to be struck or the buffer to be filled up before perl6 gets
37-
even a single byte of data.
38-
39-
=item Waiting for potential combiners
40-
41-
If your handler's encoding allows combining characters to be read, perl6 will
42-
wait for more data to be available before it provides a character. This means
43-
that inputting an "e" followed by a combining acute will give you an e with an
44-
acute rather than giving an "e" and letting the next reading function give you
45-
a dangling combiner. However, it also means that when the user inputs just an
46-
"e" and has no intention to also input a combining acute, your program will be
47-
waiting for another keypress before the initial "e" is returned.
32+
=head3 Buffering terminals
33+
34+
Using getc to get a single keypress from a terminal will only work properly if
35+
you've set the terminal to "unbuffered". Otherwise the terminal will wait for
36+
the return key to be struck or the buffer to be filled up before perl6 gets
37+
even a single byte of data.
38+
39+
=head3 Waiting for potential combiners
40+
41+
If your handler's encoding allows combining characters to be read, perl6 will
42+
wait for more data to be available before it provides a character. This means
43+
that inputting an "e" followed by a combining acute will give you an e with an
44+
acute rather than giving an "e" and letting the next reading function give you
45+
a dangling combiner. However, it also means that when the user inputs just an
46+
"e" and has no intention to also input a combining acute, your program will be
47+
waiting for another keypress before the initial "e" is returned.
4848
4949
=head2 method eof
5050

0 commit comments

Comments
 (0)