Midnight Commander Ctrl-Enter key and utf bug
Shmyrev
nshmyrev at yandex.ru
Fri Dec 5 22:35:15 UTC 2003
Hello, thank for your work on utf-8 support in midnight commander. But there
is one unhandled bug.
I've mc installed from Fedora core rpm. I have filesystem with utf8 encoding.
When I press Ctrl+Enter to copy file name to command line in midnight
commander, the result is ugly.
The reason is in this code in mc-4.6.0/src/widget.c (look at text++)
/* Inserts text in input line */
void
stuff (WInput *in, char *text, int insert_extra_space)
{
input_disable_update (in);
while (*text)
handle_char (in, *text++);
if (insert_extra_space)
handle_char (in, ' ');
input_enable_update (in);
update_input (in, 1);
}
Can someone fix it?
Fnx.
Shmyrev.
More information about the fedora-devel-list
mailing list