* subshell.c (subshell_switch_key): Make static const int.
Этот коммит содержится в:
родитель
001cb449d0
Коммит
5da0a2f08a
@ -1,5 +1,7 @@
|
|||||||
2002-12-23 Pavel Roskin <proski@gnu.org>
|
2002-12-23 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* subshell.c (subshell_switch_key): Make static const int.
|
||||||
|
|
||||||
* key.c (correct_key_code): Strip or add modifier information
|
* key.c (correct_key_code): Strip or add modifier information
|
||||||
when necessary. Recognize shift with function key N as function
|
when necessary. Recognize shift with function key N as function
|
||||||
key (N + 10). Fix breakage from previous patch.
|
key (N + 10). Fix breakage from previous patch.
|
||||||
|
@ -104,7 +104,7 @@ TRUE;
|
|||||||
int subshell_pty = 0;
|
int subshell_pty = 0;
|
||||||
|
|
||||||
/* The key for switching back to MC from the subshell */
|
/* The key for switching back to MC from the subshell */
|
||||||
char subshell_switch_key = XCTRL('o');
|
static const int subshell_switch_key = XCTRL('o');
|
||||||
|
|
||||||
/* State of the subshell:
|
/* State of the subshell:
|
||||||
* INACTIVE: the default state; awaiting a command
|
* INACTIVE: the default state; awaiting a command
|
||||||
|
@ -13,9 +13,6 @@ extern int use_subshell;
|
|||||||
/* File descriptor of the pseudoterminal used by the subshell */
|
/* File descriptor of the pseudoterminal used by the subshell */
|
||||||
extern int subshell_pty;
|
extern int subshell_pty;
|
||||||
|
|
||||||
/* The key to switch back to MC from the subshell */
|
|
||||||
extern char subshell_switch_key;
|
|
||||||
|
|
||||||
/* State of the subshell; see subshell.c for an explanation */
|
/* State of the subshell; see subshell.c for an explanation */
|
||||||
enum subshell_state_enum {INACTIVE, ACTIVE, RUNNING_COMMAND};
|
enum subshell_state_enum {INACTIVE, ACTIVE, RUNNING_COMMAND};
|
||||||
extern enum subshell_state_enum subshell_state;
|
extern enum subshell_state_enum subshell_state;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user