]> git.pld-linux.org Git - packages/screen.git/blame - screen-statusline-encoding.patch
- unify @direntry formatting (description at 41st column)
[packages/screen.git] / screen-statusline-encoding.patch
CommitLineData
95cacec1
ER
1https://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.c.orig 2008-05-08 02:37:22.000000000 +0800
14+++ screen.c 2008-05-20 20:34:37.000000000 +0800
786d7100 15@@ -2584,6 +2584,17 @@
95cacec1
ER
16 }
17 p += strlen(p) - 1;
18 break;
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+ {
95cacec1
ER
25+ strcpy(p, EncodingName(win->w_encoding));
26+ }
27+ p += strlen(p) - 1;
28+ break;
29+#endif
30 case '{':
31 {
32 char rbuf[128];
This page took 0.109656 seconds and 4 git commands to generate.