Class: HrrRbSsh::Connection::RequestHandler::ReferenceWindowChangeRequestHandler
- Inherits:
-
HrrRbSsh::Connection::RequestHandler
- Object
- HrrRbSsh::Connection::RequestHandler
- HrrRbSsh::Connection::RequestHandler::ReferenceWindowChangeRequestHandler
- Defined in:
- lib/hrr_rb_ssh/connection/request_handler/reference_window_change_request_handler.rb
Instance Method Summary collapse
-
#initialize ⇒ ReferenceWindowChangeRequestHandler
constructor
A new instance of ReferenceWindowChangeRequestHandler.
Methods inherited from HrrRbSsh::Connection::RequestHandler
Constructor Details
#initialize ⇒ ReferenceWindowChangeRequestHandler
Returns a new instance of ReferenceWindowChangeRequestHandler.
11 12 13 14 15 |
# File 'lib/hrr_rb_ssh/connection/request_handler/reference_window_change_request_handler.rb', line 11 def initialize @proc = Proc.new { |context| context.vars[:ptm].winsize = [context.terminal_height_rows, context.terminal_width_columns, context.terminal_width_pixels, context.terminal_height_pixels] } end |