68468a25ac
The xterm_flag variable was initialized in setup_mc() but used first time in init_key() and in tty_init() (in do_enter_ca_mode()) before setup_mc() call. Now xterm initialized in early step of mc start up process and xterm support and mouse are initialized in tty_init(). Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
30 строки
996 B
C
30 строки
996 B
C
/** \file win.h
|
|
* \brief Header: X terminal management: xterm and rxvt
|
|
*/
|
|
|
|
#ifndef MC__WIN_H
|
|
#define MC__WIN_H
|
|
|
|
#include "lib/global.h" /* <glib.h> */
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
extern gboolean xterm_flag;
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
void do_enter_ca_mode (void);
|
|
void do_exit_ca_mode (void);
|
|
|
|
void show_rxvt_contents (int starty, unsigned char y1, unsigned char y2);
|
|
gboolean look_for_rxvt_extensions (void);
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
#endif /* MC_WIN_H */
|