[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Midnight Commander Ctrl-Enter key and utf bug
- From: Shmyrev <nshmyrev yandex ru>
- To: fedora-devel-list redhat com
- Subject: Midnight Commander Ctrl-Enter key and utf bug
- Date: Sat, 6 Dec 2003 01:35:15 +0300
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]