curses.c (100c533220d70ae9732ba63142d71d1c48688f54) curses.c (5209089fcd1373c363dc424827593ffaced12203)
1/*
2 * QEMU curses/ncurses display driver
3 *
4 * Copyright (c) 2005 Andrzej Zaborowski <balrog@zabor.org>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 345 unchanged lines hidden (view full) ---

354 /* some curses implementations provide a handler, but we
355 * want to be sure this is handled regardless of the library */
356 signal(SIGWINCH, curses_winch_handler);
357#endif
358#endif
359
360 dcl = (DisplayChangeListener *) g_malloc0(sizeof(DisplayChangeListener));
361 dcl->ops = &dcl_ops;
1/*
2 * QEMU curses/ncurses display driver
3 *
4 * Copyright (c) 2005 Andrzej Zaborowski <balrog@zabor.org>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 345 unchanged lines hidden (view full) ---

354 /* some curses implementations provide a handler, but we
355 * want to be sure this is handled regardless of the library */
356 signal(SIGWINCH, curses_winch_handler);
357#endif
358#endif
359
360 dcl = (DisplayChangeListener *) g_malloc0(sizeof(DisplayChangeListener));
361 dcl->ops = &dcl_ops;
362 register_displaychangelistener(ds, dcl);
362 register_displaychangelistener(dcl);
363
364 invalidate = 1;
365}
363
364 invalidate = 1;
365}