2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -0,0 +1,7 @@
|
|||
begin
|
||||
check = STDIN.read_nonblock(1)
|
||||
rescue IO::WaitReadable
|
||||
check = false
|
||||
end
|
||||
|
||||
puts check if check
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
% ruby keypress_check.rb
|
||||
% echo -n y | ruby keypress_check.rb
|
||||
y
|
||||
Loading…
Add table
Add a link
Reference in a new issue