Describe the problem
return key press event key has ctrl=true
#
when only pressing return, and not ctrl
Steps to reproduce the problem
reader.on(:keypress) do |event|
puts event.key
end
Actual behaviour
#<struct TTY::Reader::Key name=:return, ctrl=true, meta=false, shift=false>
Expected behaviour
#<struct TTY::Reader::Key name=:return, ctrl=false, meta=false, shift=false>
Describe your environment
- OS version: macos 13.2.1
- Ruby version: 3.2.1
- TTY::Reader version: tty-reader (0.9.0)
Describe the problem
return key press event key has ctrl=true
#
when only pressing return, and not ctrl
Steps to reproduce the problem
Actual behaviour
#<struct TTY::Reader::Key name=:return, ctrl=true, meta=false, shift=false>Expected behaviour
#<struct TTY::Reader::Key name=:return, ctrl=false, meta=false, shift=false>Describe your environment