mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* main.c (midnight_callback): Ctrl-space calculates the size of
the currently selected directory entry. This is mostly useful for directories.
This commit is contained in:
parent
009400124c
commit
689ee9f8ae
@ -4,8 +4,9 @@
|
||||
the currently selected panel entry and moves down. Suggested by
|
||||
ForestCreature on mc-devel.
|
||||
* cmd.h: Likewise.
|
||||
* main.c (midnight_callback): When the space key is pressed and
|
||||
the command line is empty, single_dirsize_cmd() is called.
|
||||
* main.c (midnight_callback): Ctrl-space calculates the size of
|
||||
the currently selected directory entry. This is mostly useful for
|
||||
directories.
|
||||
|
||||
2005-09-05 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
|
@ -1256,6 +1256,8 @@ static const key_map default_map[] = {
|
||||
{KEY_F (19), menu_last_selected_cmd},
|
||||
{KEY_F (20), quiet_quit_cmd},
|
||||
|
||||
{XCTRL ('@'), single_dirsize_cmd},
|
||||
|
||||
/* Copy useful information to the command line */
|
||||
{ALT ('a'), copy_current_pathname},
|
||||
{ALT ('A'), copy_other_pathname},
|
||||
@ -1543,11 +1545,6 @@ midnight_callback (struct Dlg_head *h, dlg_msg_t msg, int parm)
|
||||
reverse_selection_cmd ();
|
||||
return MSG_HANDLED;
|
||||
}
|
||||
|
||||
if (parm == ' ') {
|
||||
single_dirsize_cmd ();
|
||||
return MSG_HANDLED;
|
||||
}
|
||||
}
|
||||
}
|
||||
return MSG_NOT_HANDLED;
|
||||
|
Loading…
Reference in New Issue
Block a user