File: tickit_term_set_utf8.3

package info (click to toggle)
libtickit 0.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,556 kB
  • sloc: ansic: 13,904; perl: 228; makefile: 161; sh: 38
file content (28 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (3)
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
.TH TICKIT_TERM_SET_UTF8 3
.SH NAME
tickit_term_set_utf8, tickit_term_get_utf8 \- control
.SM UTF-8
mode
.SH SYNOPSIS
.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_set_utf8(TickitTerm *" tt ", bool " utf8 );
.BI "TickitMaybeBool tickit_term_get_utf8(TickitTerm *" tt );
.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
\fBtickit_term_set_utf8\fP() controls whether terminal input is processed according to
.SM UTF-8
rules, or legacy 8-bit single byte rules. If this function is not called explicitly, it will be detected automatically by inspecting locale variables.
.PP
\fBtickit_term_get_utf8\fP() returns the current value for
.SM UTF-8
support as \fBTICKIT_YES\fP or \fBTICKIT_NO\fP, or \fBTICKIT_MAYBE\fP if the value is not yet known and has not been explicitly set.
.SH "RETURN VALUE"
\fBtickit_term_set_utf8\fP() returns no value. \fBtickit_term_get_utf8\fP() returns a \fITickitMaybeBool\fP tri-state boolean value.
.SH "SEE ALSO"
.BR tickit_term_build (3),
.BR tickit_term (7),
.BR tickit (7)