
      proc do
        def read_keypress(*args, &block)
          _ =
          begin
            @reader
          end
          unless defined? _.read_keypress
            ::Kernel.warn "TTY::Prompt#read_keypress at /opt/gitlab/embedded/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ""#{_.class}"'#read_keypress', uplevel: 1
            _.__send__(:read_keypress, *args, &block)
          else
            _.read_keypress(*args, &block)
          end
        end
      end
