mirror of https://github.com/MidnightCommander/mc
TTY: moved alternate_plus_minus variable to TTY layer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d6dc828c0c
commit
c43bb6f576
|
@ -43,7 +43,6 @@
|
|||
#include "widget.h"
|
||||
#include "../src/mcconfig/mcconfig.h" /* Save profile */
|
||||
#include "setup.h"
|
||||
#include "main.h" /* alternate_plus_minus */
|
||||
#include "layout.h" /* repaint_screen() */
|
||||
#include "learn.h"
|
||||
#include "wtools.h"
|
||||
|
|
|
@ -139,10 +139,6 @@ int mark_moves_down = 1;
|
|||
/* If true, at startup the user-menu is invoked */
|
||||
int auto_menu = 0;
|
||||
|
||||
/* If true, use + and \ keys normally and select/unselect do if M-+ / M-\
|
||||
and M-- and keypad + / - */
|
||||
int alternate_plus_minus = 0;
|
||||
|
||||
/* If true, then the +, - and \ keys have their special meaning only if the
|
||||
* command line is emtpy, otherwise they behave like regular letters
|
||||
*/
|
||||
|
|
|
@ -64,7 +64,6 @@ extern int confirm_overwrite;
|
|||
extern int boot_current_is_left;
|
||||
extern int use_file_to_check_type;
|
||||
extern int vfs_use_limit;
|
||||
extern int alternate_plus_minus;
|
||||
extern int only_leading_plus_minus;
|
||||
extern int output_starts_shell;
|
||||
extern int midnight_shutdown;
|
||||
|
|
|
@ -80,6 +80,10 @@
|
|||
|
||||
/*** global variables **************************************************/
|
||||
|
||||
/* If true, use + and \ keys normally and select/unselect do if M-+ / M-\.
|
||||
and M-- and keypad + / - */
|
||||
int alternate_plus_minus = 0;
|
||||
|
||||
int mou_auto_repeat = 100;
|
||||
int double_click_speed = 250;
|
||||
int old_esc_mode = 0;
|
||||
|
|
|
@ -52,6 +52,7 @@ int tty_getch (void);
|
|||
#define KEY_M_CTRL 0x4000
|
||||
#define KEY_M_MASK 0x7000
|
||||
|
||||
extern int alternate_plus_minus;
|
||||
extern int double_click_speed;
|
||||
extern int old_esc_mode;
|
||||
extern int use_8th_bit_as_meta;
|
||||
|
|
Loading…
Reference in New Issue