]> git.pld-linux.org Git - packages/screen.git/blob - screen-statusline-encoding.patch
- updated to 4.7.0
[packages/screen.git] / screen-statusline-encoding.patch
1 https://savannah.gnu.org/bugs/index.php?23955
2
3 --- ./process.c.orig    2008-05-08 02:37:33.000000000 +0800
4 +++ ./process.c 2008-05-08 02:37:49.000000000 +0800
5 @@ -3422,6 +3422,7 @@
6             {
7               WinSwitchEncoding(fore, n);
8               ResetCharsets(fore);
9 +             RedisplayDisplays(0);
10             }
11           else if (i && display)
12             D_encoding  = n;
13 --- screen-4.5.0/screen.c~      2017-01-19 11:48:22.000000000 +0200
14 +++ screen-4.5.0/screen.c       2017-01-19 11:49:18.766380947 +0200
15 @@ -2766,6 +2766,18 @@
16        p += strlen(p) - 1;
17        break;
18  
19 +#ifdef ENCODINGS
20 +       case 'e':
21 +         *p = 0;
22 +         D_encoding = nwin_options.encoding > 0 ? nwin_options.encoding : 0;
23 +         if (win && win->w_encoding)
24 +           {
25 +             strcpy(p, EncodingName(win->w_encoding));
26 +           }
27 +         p += strlen(p) - 1;
28 +         break;
29 +#endif
30 +
31      case '{':
32      {
33        char rbuf[128];
This page took 0.062325 seconds and 3 git commands to generate.