summaryrefslogtreecommitdiff
path: root/japanese/gnomelibs/files/patch-ag
blob: b5ac9094ff2126e236fb77994d1ad060fcad85e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- ./zvt/vt.h.jp2	Sat Oct 30 03:35:49 1999
+++ ./zvt/vt.h	Sun Oct 29 18:32:20 2000
@@ -28,6 +28,10 @@
 /* for utf-8 input support */
 #define ZVT_UTF 1
 
+/* for multibyte support */
+#define ZVT_MB 1
+#define ZVT_JIS 1
+
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
@@ -71,6 +75,7 @@
 #define VTATTR_BLINK      0x10000000
 #define VTATTR_REVERSE    0x08000000
 #define VTATTR_CONCEALED  0x04000000
+#define VTATTR_MULTIBYTE  0x80000000  /* for multibyte charater */
 
 /* all attributes mask, and no-attributes mask */
 #define VTATTR_MASK	  0xffff0000
@@ -207,6 +212,10 @@
 int   	      vt_killchild      (struct vt_em *vt, int signal);
 int   	      vt_closepty       (struct vt_em *vt);
 void	      vt_reset_terminal (struct vt_em *vt, int hard);
+#ifdef ZVT_MB
+int           vt_line_mblen(int x, struct vt_line *l);
+int           vt_query_line_mbchar(int x, struct vt_line *l);
+#endif
 
 #ifdef __cplusplus
 	   }