Method: TTY::Reader#keyctrl_d

Defined in:
lib/tty/reader.rb

#keyctrl_dObject Also known as: keyctrl_z

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Capture Ctrl+d and Ctrl+z key events



428
429
430
# File 'lib/tty/reader.rb', line 428

def keyctrl_d(*)
  @stop = true
end