summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte/files/patch-07_set_backspace_to_utf8
blob: cf1d41e6b7d75d95e63fa7536ceec3971b318e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/vte.c.orig	2004-12-20 00:57:39 -0800
+++ src/vte.c	2004-12-20 00:57:44 -0800
@@ -7125,7 +7125,11 @@
 		break;
 	default:
 		if (pid != 0) {
+			char *codeset;
 			terminal->pvt->pty_master = i;
+			g_get_charset(&codeset);
+			_vte_pty_set_utf8(terminal->pvt->pty_master,
+					  (strcmp(codeset, "UTF-8") == 0));
 		}
 	}

OpenPOWER on IntegriCloud