mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
Editor: avoid extra screen redraw.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4ca6fe66aa
commit
01e51f5496
@ -1622,7 +1622,7 @@ edit_execute_macro (WEdit * edit, int hotkey)
|
||||
}
|
||||
}
|
||||
}
|
||||
edit_update_screen (edit);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@ -322,7 +322,10 @@ edit_callback (Widget * w, widget_msg_t msg, int parm)
|
||||
|
||||
/* The user may override the access-keys for the menu bar. */
|
||||
if (macro_index == -1 && edit_execute_macro (e, parm))
|
||||
{
|
||||
edit_update_screen (e);
|
||||
ret = MSG_HANDLED;
|
||||
}
|
||||
else if (edit_translate_key (e, parm, &cmd, &ch))
|
||||
{
|
||||
edit_execute_key_command (e, cmd, ch);
|
||||
|
Loading…
Reference in New Issue
Block a user