Ticket #1668: slang-8bit_xterm.patch

File slang-8bit_xterm.patch, 468 bytes (added by gotar, 14 years ago)
  • mc-4.7.0-pre4

    diff -urNp mc-4.7.0-pre4.orig/src/main.c mc-4.7.0-pre4/src/main.c
    old new init_xterm_support (void) 
    14031403        || strcmp (termvalue, "Eterm") == 0 
    14041404        || strcmp (termvalue, "dtterm") == 0) { 
    14051405        xterm_flag = 1; 
     1406#ifdef HAVE_SLANG 
     1407        tty_display_8bit (0); 
     1408#endif 
    14061409 
    14071410        /* Default to the standard xterm sequence */ 
    14081411        if (!xmouse_seq) {