10 lines
121 B
Raku
10 lines
121 B
Raku
use Term::ReadKey;
|
|
|
|
ReadMode('cbreak');
|
|
|
|
$char = ReadKey(0);
|
|
|
|
ReadMode('normal');
|
|
|
|
print "You typed: $char.\n";
|