@@ -29,22 +29,22 @@ my $line = $fh.get;
29
29
Read a single character from the input stream or return Nil. The operation will block
30
30
for at least one character to be available, but there are a few caveats for this:
31
31
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.
48
48
49
49
= head2 method eof
50
50
0 commit comments