mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* subshell.c (subshell_switch_key): Make static const int.
This commit is contained in:
parent
001cb449d0
commit
5da0a2f08a
@ -1,5 +1,7 @@
|
||||
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
|
||||
when necessary. Recognize shift with function key N as function
|
||||
key (N + 10). Fix breakage from previous patch.
|
||||
|
@ -104,7 +104,7 @@ TRUE;
|
||||
int subshell_pty = 0;
|
||||
|
||||
/* 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:
|
||||
* INACTIVE: the default state; awaiting a command
|
||||
|
@ -13,9 +13,6 @@ extern int use_subshell;
|
||||
/* File descriptor of the pseudoterminal used by the subshell */
|
||||
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 */
|
||||
enum subshell_state_enum {INACTIVE, ACTIVE, RUNNING_COMMAND};
|
||||
extern enum subshell_state_enum subshell_state;
|
||||
|
Loading…
Reference in New Issue
Block a user