Treat resize as another Action

This commit is contained in:
Keith Winstein
2011-02-04 01:52:43 -05:00
parent c4366234b1
commit 2edf66c9e9
4 changed files with 24 additions and 4 deletions
+6
View File
@@ -71,3 +71,9 @@ void UserByte::act_on_terminal( Terminal::Emulator *emu )
emu->dispatch.terminal_to_host.append( emu->user.input( this,
emu->fb.ds.application_mode_cursor_keys ) );
}
void Resize::act_on_terminal( Terminal::Emulator *emu )
{
emu->resize( width, height );
handled = true;
}