Ticket #277: mc hangs if mouse support enabled on konsole-256color terminal

Added recognize for 'konsole' terminal into init_xterm_support() function.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2009-08-19 12:30:53 +03:00
parent 1c561adb9e
commit 678e10a3ed

View File

@ -1219,6 +1219,7 @@ init_xterm_support (void)
} }
if (force_xterm || strncmp (termvalue, "xterm", 5) == 0 if (force_xterm || strncmp (termvalue, "xterm", 5) == 0
|| strncmp (termvalue, "konsole", 7) == 0
|| strncmp (termvalue, "rxvt", 4) == 0 || strncmp (termvalue, "rxvt", 4) == 0
|| strcmp (termvalue, "Eterm") == 0 || strcmp (termvalue, "Eterm") == 0
|| strcmp (termvalue, "dtterm") == 0) { || strcmp (termvalue, "dtterm") == 0) {