mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
d816549ab9
of cons.saver.h can be omitted. * cons.saver.h: Declare nothing but constants if LINUX_CONS_SAVER_C is defined.
27 lines
603 B
C
27 lines
603 B
C
#ifndef __CONS_SAVER_H
|
|
#define __CONS_SAVER_H
|
|
|
|
enum {
|
|
CONSOLE_INIT = '1',
|
|
CONSOLE_DONE,
|
|
CONSOLE_SAVE,
|
|
CONSOLE_RESTORE,
|
|
CONSOLE_CONTENTS
|
|
};
|
|
|
|
#ifndef LINUX_CONS_SAVER_C
|
|
/* Used only in mc, not in cons.saver */
|
|
|
|
extern signed char console_flag;
|
|
|
|
void show_console_contents (int starty, unsigned char begin_line, unsigned char end_line);
|
|
void handle_console (unsigned char action);
|
|
|
|
void show_rxvt_contents (int starty, unsigned char y1, unsigned char y2);
|
|
int look_for_rxvt_extensions (void);
|
|
|
|
extern int cons_saver_pid;
|
|
#endif /* !LINUX_CONS_SAVER_C */
|
|
|
|
#endif /* __CONS_SAVER_H */
|