summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2015-12-29 12:48:12 +0000
committerPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2015-12-29 12:48:12 +0000
commit9e6448bbf2cd1e939927a34b9ddd999f19e38e7f (patch)
treeb6756769edf4e9348b8172c3fd7dc955d96a2361
parenta61c022058e43a00dc777049f0dde0b55f62c4f3 (diff)
Use .EX / .EE instead of .nf / .fi to enclose synopsis code and examples
-rw-r--r--man/tickit.74
-rw-r--r--man/tickit_debug.78
-rw-r--r--man/tickit_debug_init.34
-rw-r--r--man/tickit_debug_logf.34
-rw-r--r--man/tickit_pen.74
-rw-r--r--man/tickit_pen_attrname.34
-rw-r--r--man/tickit_pen_attrtype.34
-rw-r--r--man/tickit_pen_bind_event.34
-rw-r--r--man/tickit_pen_clear.34
-rw-r--r--man/tickit_pen_copy.34
-rw-r--r--man/tickit_pen_equiv_attr.34
-rw-r--r--man/tickit_pen_get_bool_attr.34
-rw-r--r--man/tickit_pen_get_colour_attr.34
-rw-r--r--man/tickit_pen_get_int_attr.34
-rw-r--r--man/tickit_pen_has_attr.34
-rw-r--r--man/tickit_pen_is_nonempty.34
-rw-r--r--man/tickit_pen_new.34
-rw-r--r--man/tickit_pen_ref.34
-rw-r--r--man/tickit_rect.74
-rw-r--r--man/tickit_rect_add.34
-rw-r--r--man/tickit_rect_bottom.34
-rw-r--r--man/tickit_rect_contains.34
-rw-r--r--man/tickit_rect_init_sized.34
-rw-r--r--man/tickit_rect_intersect.34
-rw-r--r--man/tickit_rect_intersects.34
-rw-r--r--man/tickit_rect_subtract.34
-rw-r--r--man/tickit_rect_translate.34
-rw-r--r--man/tickit_rectset.74
-rw-r--r--man/tickit_rectset_add.34
-rw-r--r--man/tickit_rectset_clear.34
-rw-r--r--man/tickit_rectset_contains.34
-rw-r--r--man/tickit_rectset_intersects.34
-rw-r--r--man/tickit_rectset_new.34
-rw-r--r--man/tickit_rectset_rects.34
-rw-r--r--man/tickit_rectset_subtract.34
-rw-r--r--man/tickit_rectset_translate.34
-rw-r--r--man/tickit_renderbuffer.74
-rw-r--r--man/tickit_renderbuffer_blit.34
-rw-r--r--man/tickit_renderbuffer_char.34
-rw-r--r--man/tickit_renderbuffer_clip.34
-rw-r--r--man/tickit_renderbuffer_erase.34
-rw-r--r--man/tickit_renderbuffer_eraserect.34
-rw-r--r--man/tickit_renderbuffer_flush_to_term.34
-rw-r--r--man/tickit_renderbuffer_get_cursorpos.34
-rw-r--r--man/tickit_renderbuffer_get_size.34
-rw-r--r--man/tickit_renderbuffer_goto.34
-rw-r--r--man/tickit_renderbuffer_hline_at.34
-rw-r--r--man/tickit_renderbuffer_new.34
-rw-r--r--man/tickit_renderbuffer_reset.34
-rw-r--r--man/tickit_renderbuffer_save.34
-rw-r--r--man/tickit_renderbuffer_setpen.34
-rw-r--r--man/tickit_renderbuffer_skip.34
-rw-r--r--man/tickit_renderbuffer_text.34
-rw-r--r--man/tickit_renderbuffer_translate.34
-rw-r--r--man/tickit_string_count.34
-rw-r--r--man/tickit_string_mbswidth.34
-rw-r--r--man/tickit_string_putchar.34
-rw-r--r--man/tickit_string_seqlen.34
-rw-r--r--man/tickit_stringpos_limit_bytes.38
-rw-r--r--man/tickit_stringpos_zero.34
-rw-r--r--man/tickit_term.716
-rw-r--r--man/tickit_term_await_started_msec.34
-rw-r--r--man/tickit_term_bind_event.34
-rw-r--r--man/tickit_term_chpen.34
-rw-r--r--man/tickit_term_clear.34
-rw-r--r--man/tickit_term_erasech.34
-rw-r--r--man/tickit_term_flush.34
-rw-r--r--man/tickit_term_get_size.34
-rw-r--r--man/tickit_term_get_termtype.34
-rw-r--r--man/tickit_term_goto.34
-rw-r--r--man/tickit_term_input_check_timeout_msec.34
-rw-r--r--man/tickit_term_input_push_bytes.34
-rw-r--r--man/tickit_term_input_readable.34
-rw-r--r--man/tickit_term_input_wait_msec.34
-rw-r--r--man/tickit_term_new.34
-rw-r--r--man/tickit_term_observe_sigwinch.34
-rw-r--r--man/tickit_term_open_stdio.34
-rw-r--r--man/tickit_term_print.34
-rw-r--r--man/tickit_term_scrollrect.34
-rw-r--r--man/tickit_term_set_input_fd.34
-rw-r--r--man/tickit_term_set_output_buffer.34
-rw-r--r--man/tickit_term_set_output_fd.34
-rw-r--r--man/tickit_term_set_output_func.34
-rw-r--r--man/tickit_term_set_utf8.34
-rw-r--r--man/tickit_term_setctl_int.34
-rw-r--r--man/tickit_window.716
-rw-r--r--man/tickit_window_bind_event.34
-rw-r--r--man/tickit_window_destroy.34
-rw-r--r--man/tickit_window_expose.34
-rw-r--r--man/tickit_window_flush.38
-rw-r--r--man/tickit_window_get_abs_geometry.34
-rw-r--r--man/tickit_window_get_geometry.34
-rw-r--r--man/tickit_window_get_pen.34
-rw-r--r--man/tickit_window_new.34
-rw-r--r--man/tickit_window_new_root.34
-rw-r--r--man/tickit_window_parent.34
-rw-r--r--man/tickit_window_raise.34
-rw-r--r--man/tickit_window_scroll.34
-rw-r--r--man/tickit_window_set_cursor_position.34
-rw-r--r--man/tickit_window_set_focus_child_notify.34
-rw-r--r--man/tickit_window_set_geometry.34
-rw-r--r--man/tickit_window_show.34
-rw-r--r--man/tickit_window_take_focus.34
103 files changed, 224 insertions, 224 deletions
diff --git a/man/tickit.7 b/man/tickit.7
index ee0dec7..74f09cd 100644
--- a/man/tickit.7
+++ b/man/tickit.7
@@ -8,13 +8,13 @@ The application would likely also maintain a \fBTickitRenderBuffer\fP instance i
.SH "COMMON TYPES"
Some API functions take or return the following enum type, to represent a tri-state extended boolean concept of true, false, or some third condition typically indicating a "don't care" or "unknown" state; the exact semantics will vary between specific uses and should be documented specifically.
.sp
-.nf
+.EX
.B typedef enum {
.BR " TICKIT_YES" " = 1,"
.BR " TICKIT_NO" " = 0,"
.BR " TICKIT_MAYBE" " = -1",
.BI "} " TickitMaybeBool ;
-.fi
+.EE
.SH "COMMON EVENTS"
Every object instance that supports events supports the following type of event, in addition to the specific ones listed for that kind of object:
.TP
diff --git a/man/tickit_debug.7 b/man/tickit_debug.7
index 6f7f6f5..761f4de 100644
--- a/man/tickit_debug.7
+++ b/man/tickit_debug.7
@@ -2,9 +2,9 @@
.SH NAME
Tickit Debug \- debug logging support for \fIlibtickit\fP
.SH SYNOPSIS
-.nf
+.EX
$ TICKIT_DEBUG_FLAGS=W TICKIT_DEBUG_FILE=tickit.log a-tickit-program
-.fi
+.EE
.SH DESCRIPTION
The \fIlibtickit\fP library contains a debug logging system that other parts of the library use to report on interesting events and behaviours, that may help developers to observe internal details and assist in the development and debugging of applications that use the library.
.PP
@@ -50,9 +50,9 @@ Gives a file descriptor number to write logging lines to.
.PP
One technique that may be useful to observe logging in real-time while the application runs is to arrange for the application to run in a new terminal but have it log debugging output to an existing one. This may be achieved using
.sp
-.nf
+.EX
$ TICKIT_DEBUG_FD=3 TICKIT_DEBUG_FLAGS=... $TERM my-tickit-app 3>&2
-.fi
+.EE
.sp
This requests that \fIlibtickit\fP log to file descriptor 3, which has been created by dup(2)ing the original shell's standard output. Debug logging will therefore be printed to the existing terminal where this command was executed, while the application itself draws its output to the newly-created one.
.SH FUNCTIONS
diff --git a/man/tickit_debug_init.3 b/man/tickit_debug_init.3
index b61f4a6..74bd11d 100644
--- a/man/tickit_debug_init.3
+++ b/man/tickit_debug_init.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_debug_init \- initialise the debugging system
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_debug_init(void);"
.sp
.BI "bool " tickit_debug_enabled ;
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_debug_logf.3 b/man/tickit_debug_logf.3
index 85e4a7a..edb9af5 100644
--- a/man/tickit_debug_logf.3
+++ b/man/tickit_debug_logf.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_debug_logf, tickit_debug_vlogf \- emit debugging log messages
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_debug_logf(const char *" flag ,
.BI " const char *" fmt ", ...);"
.BI "void tickit_debug_vlogf(const char *" flag ,
.BI " const char *" fmt ", va_list " args );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen.7 b/man/tickit_pen.7
index b94f7fc..209b3f3 100644
--- a/man/tickit_pen.7
+++ b/man/tickit_pen.7
@@ -2,11 +2,11 @@
.SH NAME
TickitPen \- store a collection of terminal rendering attributes
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef struct " TickitPen ;
-.fi
+.EE
.sp
.SH DESCRIPTION
A \fBTickitPen\fP instance stores a collection of terminal rendering attributes. For each known attribute, a pen instance may store a value for this attribute. A pen instance is used in the \fBtickit_term_chpen\fP(3) and \fBtickit_term_setpen\fP(3) functions.
diff --git a/man/tickit_pen_attrname.3 b/man/tickit_pen_attrname.3
index a263ebc..91f0953 100644
--- a/man/tickit_pen_attrname.3
+++ b/man/tickit_pen_attrname.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_attrname \- return the name of a pen attribute
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "const char * tickit_pen_attrname(TickitPenAttr " attr );
.BI "TickitPenAttr tickit_pen_lookup_attr(const char * " name );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_attrtype.3 b/man/tickit_pen_attrtype.3
index 027e1e4..087d9d7 100644
--- a/man/tickit_pen_attrtype.3
+++ b/man/tickit_pen_attrtype.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_pen_attrtype \- return the type of a pen attribute
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitPenAttrType tickit_pen_attrtype(TickitPenAttr " attr );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_bind_event.3 b/man/tickit_pen_bind_event.3
index 03bdc00..e4359b3 100644
--- a/man/tickit_pen_bind_event.3
+++ b/man/tickit_pen_bind_event.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_pen_bind_event, tickit_pen_unbind_event_id \- add or remove event handlers
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef void " TickitPenEventFn "(TickitPen *" tt ", TickitEventType " ev ,
@@ -11,7 +11,7 @@ tickit_pen_bind_event, tickit_pen_unbind_event_id \- add or remove event handler
.BI "int tickit_pen_bind_event(TickitPen *" tt ", TickitEventType " ev ,
.BI " TickitPenEventFn *" fn ", void *" user );
.BI "void tickit_pen_unbind_event_id(TickitPen *" tt ", int " id );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_clear.3 b/man/tickit_pen_clear.3
index ac04c97..d4e46a6 100644
--- a/man/tickit_pen_clear.3
+++ b/man/tickit_pen_clear.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_clear, tickit_pen_clear_attr \- remove pen attributes
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_pen_clear(TickitPen *" pen );
.BI "void tickit_pen_clear_attr(TickitPen *" pen ", TickitPenAttr " attr );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_copy.3 b/man/tickit_pen_copy.3
index 03a9950..92834fd 100644
--- a/man/tickit_pen_copy.3
+++ b/man/tickit_pen_copy.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_pen_copy, tickit_pen_copy_attr \- copy attributes from one pen to another
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_pen_copy(TickitPen *" dst ", TickitPen *" src ,
.BI " bool " overwrite );
.BI "void tickit_pen_copy_attr(TickitPen *" dst ", TickitPen *" src ,
.BI " TickitPenAttr " attr );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_equiv_attr.3 b/man/tickit_pen_equiv_attr.3
index ea5f92d..9b1313e 100644
--- a/man/tickit_pen_equiv_attr.3
+++ b/man/tickit_pen_equiv_attr.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_pen_equiv_attr \- test if two pens have an equivalent attribute value
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_pen_equiv_attr(TickitPen *" a ", TickitPen *" b ,
.BI " TickitPenAttr " attr );
.BI "bool tickit_pen_equiv(TickitPen *" a ", TickitPen *" b )
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_get_bool_attr.3 b/man/tickit_pen_get_bool_attr.3
index 2678ce7..d3f9e44 100644
--- a/man/tickit_pen_get_bool_attr.3
+++ b/man/tickit_pen_get_bool_attr.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_get_bool_attr, tickit_pen_set_bool_attr \- manipulate a boolean pen attribute
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_pen_get_bool_attr(TickitPen *" pen ", TickitPenAttr " attr );
.BI "void tickit_pen_set_bool_attr(TickitPen *" pen ", TickitPenAttr " attr ", bool " val );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_get_colour_attr.3 b/man/tickit_pen_get_colour_attr.3
index ac47ff2..3bafd7c 100644
--- a/man/tickit_pen_get_colour_attr.3
+++ b/man/tickit_pen_get_colour_attr.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_pen_get_colour_attr, tickit_pen_set_colour_attr, tickit_pen_set_colour_attr_desc \- manipulate a colour pen attribute
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_pen_get_colour_attr(TickitPen *" pen ", TickitPenAttr " attr );
.BI "void tickit_pen_set_colour_attr(TickitPen *" pen ", TickitPenAttr " attr ", int " val );
.BI "bool tickit_pen_set_colour_attr_desc(TickitPen *" pen ", TickitPenAttr " attr ,
.BI " const char *" desc );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_get_int_attr.3 b/man/tickit_pen_get_int_attr.3
index a3b1d38..2cd4702 100644
--- a/man/tickit_pen_get_int_attr.3
+++ b/man/tickit_pen_get_int_attr.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_get_int_attr, tickit_pen_set_int_attr \- manipulate an integer pen attribute
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_pen_get_int_attr(TickitPen *" pen ", TickitPenAttr " attr );
.BI "void tickit_pen_set_int_attr(TickitPen *" pen ", TickitPenAttr " attr ", int " val );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_has_attr.3 b/man/tickit_pen_has_attr.3
index 5bdd97f..7680d97 100644
--- a/man/tickit_pen_has_attr.3
+++ b/man/tickit_pen_has_attr.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_has_attr \- test if a pen has a given attribute
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_pen_has_attr(TickitPen *" pen ", TickitPenAttr " attr );
.BI "bool tickit_pen_nondefault_attr(TickitPen *" pen ", TickitPenAttr " attr );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_is_nonempty.3 b/man/tickit_pen_is_nonempty.3
index 6e4b66f..540abd9 100644
--- a/man/tickit_pen_is_nonempty.3
+++ b/man/tickit_pen_is_nonempty.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_is_nonempty, tickit_pen_is_nondefault \- test if a pen has attributes defined
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_pen_is_nonempty(TickitPen *" pen );
.BI "bool tickit_pen_is_nondefault(TickitPen *" pen );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_new.3 b/man/tickit_pen_new.3
index 5d2b5ee..6c2905d 100644
--- a/man/tickit_pen_new.3
+++ b/man/tickit_pen_new.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_pen_new, tickit_pen_destroy \- create or destroy a pen instance
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitPen *tickit_pen_new(void);"
.BI "TickitPen *tickit_pen_new_attrs(...);"
.BI "TickitPen *tickit_pen_clone(const TickitPen *" orig );
.BI "void tickit_pen_destroy(TickitPen *" pen );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_pen_ref.3 b/man/tickit_pen_ref.3
index 9a66802..3856eb3 100644
--- a/man/tickit_pen_ref.3
+++ b/man/tickit_pen_ref.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_pen_ref, tickit_pen_unref \- adjust the refcount of a pen
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitPen *tickit_pen_ref(TickitPen *" pen );
.BI "void tickit_pen_unref(TickitPen *" pen );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect.7 b/man/tickit_rect.7
index e247d62..ceb9874 100644
--- a/man/tickit_rect.7
+++ b/man/tickit_rect.7
@@ -2,7 +2,7 @@
.SH NAME
TickitRect \- utility structure representing a rectangular region
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef struct {"
@@ -11,7 +11,7 @@ TickitRect \- utility structure representing a rectangular region
.BI " int " lines ;
.BI " int " cols ;
.BI "} " TickitRect ;
-.fi
+.EE
.sp
.SH DESCRIPTION
A \fBTickitRect\fP structure represents a single non-empty rectangular region of the screen. It stores the position of the top left corner of the region, and its size in lines and columns.
diff --git a/man/tickit_rect_add.3 b/man/tickit_rect_add.3
index ec6f754..d8d397f 100644
--- a/man/tickit_rect_add.3
+++ b/man/tickit_rect_add.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_rect_add \- obtain the union sum of two rectangles
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_rect_add(TickitRect " dst [3],
.BI " const TickitRect *" a ", const TickitRect *" b );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_bottom.3 b/man/tickit_rect_bottom.3
index 102a8a4..96c489c 100644
--- a/man/tickit_rect_bottom.3
+++ b/man/tickit_rect_bottom.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_rect_bottom, tickit_rect_right \- return the bottom right corner of a rectangle
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_rect_bottom(const TickitRect *" rect );
.BI "int tickit_rect_right(const TickitRect *" rect );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_contains.3 b/man/tickit_rect_contains.3
index 2f440d9..bdefff2 100644
--- a/man/tickit_rect_contains.3
+++ b/man/tickit_rect_contains.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rect_contains \- test if one rectangle entirely contains another
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_rect_contains(const TickitRect *" large ", const TickitRect *" small );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_init_sized.3 b/man/tickit_rect_init_sized.3
index d5831e8..b117bd7 100644
--- a/man/tickit_rect_init_sized.3
+++ b/man/tickit_rect_init_sized.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_rect_init_sized, tickit_rect_init_bounded \- initialise a rectangle struct
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_rect_init_sized(TickitRect *" rect ", int " top ", int " left ,
.BI " int " lines ", int " cols );
.BI "void tickit_rect_init_bounded(TickitRect *" rect ", int " top ", int " left ,
.BI " int " bottom ", int " right );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_intersect.3 b/man/tickit_rect_intersect.3
index 94a789b..76323e6 100644
--- a/man/tickit_rect_intersect.3
+++ b/man/tickit_rect_intersect.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_rect_intersect \- obtain the intersection of two rectangles
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_rect_intersect(TickitRect *" dst ,
.BI " const TickitRect *" a ", const TickitRect *" b );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_intersects.3 b/man/tickit_rect_intersects.3
index d46b6fa..48844fd 100644
--- a/man/tickit_rect_intersects.3
+++ b/man/tickit_rect_intersects.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rect_intersects \- test if two rectangles intersect
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_rect_intersects(const TickitRect *" a ", const TickitRect *" b );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_subtract.3 b/man/tickit_rect_subtract.3
index 9ae649e..0919296 100644
--- a/man/tickit_rect_subtract.3
+++ b/man/tickit_rect_subtract.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_rect_subtract \- obtain the difference of two rectangles
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_rect_subtract(TickitRect " dst [4],
.BI " const TickitRect *" orig ", const TickitRect *" hole );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rect_translate.3 b/man/tickit_rect_translate.3
index 5e15fc1..06fa6df 100644
--- a/man/tickit_rect_translate.3
+++ b/man/tickit_rect_translate.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rect_translate \- move the area of a rectangle
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_rect_translate(TickitRect *" rect ", int " downward ", int " rightward );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset.7 b/man/tickit_rectset.7
index b63a8e6..dfde1bc 100644
--- a/man/tickit_rectset.7
+++ b/man/tickit_rectset.7
@@ -2,11 +2,11 @@
.SH NAME
TickitRectSet \- store a collection of rectangular areas
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef struct " TickitRectSet ;
-.fi
+.EE
.sp
.SH DESCRIPTION
A \fBTickitRectSet\fP instance stores a collection of rectangular areas as non-overlapping regions. Mutation operations allow areas to be added or subtracted. Query operations allow testing for area containment, intersection, or iterating the stored regions.
diff --git a/man/tickit_rectset_add.3 b/man/tickit_rectset_add.3
index 9b3e675..230c130 100644
--- a/man/tickit_rectset_add.3
+++ b/man/tickit_rectset_add.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rectset_add \- add an area to a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_rectset_add(TickitRectSet *" trs ", const TickitRect *" rect );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_clear.3 b/man/tickit_rectset_clear.3
index 0d2182b..843745d 100644
--- a/man/tickit_rectset_clear.3
+++ b/man/tickit_rectset_clear.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rectset_clear \- remove all regions from a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_rectset_clear(TickitRectSet *" trs );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_contains.3 b/man/tickit_rectset_contains.3
index 38582ea..ee472e4 100644
--- a/man/tickit_rectset_contains.3
+++ b/man/tickit_rectset_contains.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rectset_contains \- test if an area is contained by a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_rectset_contains(const TickitRectSet *" trs ", const TickitRect *" rect );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_intersects.3 b/man/tickit_rectset_intersects.3
index e13f47a..852e582 100644
--- a/man/tickit_rectset_intersects.3
+++ b/man/tickit_rectset_intersects.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rectset_intersects \- test if a region intersects with a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_rectset_intersects(const TickitRectSet *" trs ", const TickitRect *" rect );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_new.3 b/man/tickit_rectset_new.3
index 5586363..6994506 100644
--- a/man/tickit_rectset_new.3
+++ b/man/tickit_rectset_new.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_rectset_new, tickit_rectset_destroy \- create or destroy a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitRectSet *tickit_rectset_new(void);"
.BI "void tickit_rectset_destroy(TickitRectSet *" trs );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_rects.3 b/man/tickit_rectset_rects.3
index 3bdc242..27177ac 100644
--- a/man/tickit_rectset_rects.3
+++ b/man/tickit_rectset_rects.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_rectset_rects, tickit_rectset_get_rects \- obtain the regions from a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_rectset_rects(const TickitRectSet *" trs );
.BI "int tickit_rectset_get_rects(const TickitRectSet *" trs ", TickitRect " rects [],
.BI " size_t " n );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_subtract.3 b/man/tickit_rectset_subtract.3
index b4937bc..23a4ad1 100644
--- a/man/tickit_rectset_subtract.3
+++ b/man/tickit_rectset_subtract.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rectset_subtract \- subtract a region from a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_rectset_subtract(TickitRectSet *" trs ", const TickitRect *" rect );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_rectset_translate.3 b/man/tickit_rectset_translate.3
index 7c8c505..427aba1 100644
--- a/man/tickit_rectset_translate.3
+++ b/man/tickit_rectset_translate.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_rectset_translate \- move all the rectangles in a rectangle set
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_rectset_translate(TickitRectSet *" trs ", int " downward ", int " rightward );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer.7 b/man/tickit_renderbuffer.7
index 6b5e88c..7a3de0d 100644
--- a/man/tickit_renderbuffer.7
+++ b/man/tickit_renderbuffer.7
@@ -2,11 +2,11 @@
.SH NAME
TickitRenderBuffer \- store display content to be drawn to the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef struct " TickitRenderBuffer ;
-.fi
+.EE
.sp
.SH DESCRIPTION
A \fBTickitRenderBuffer\fP instance stores content waiting to be drawn to the terminal. It provides an efficient place to build the eventual display, by applying drawing operations to it that can alter and overwrite the pending content, before eventually flushing it directly to the terminal in an efficient transfer of state. The buffer stores plain text content along with rendering attributes, and also stores line drawing information, allowing line segments to be merged correctly and rendered using Unicode characters.
diff --git a/man/tickit_renderbuffer_blit.3 b/man/tickit_renderbuffer_blit.3
index 1f9f00b..e95ec76 100644
--- a/man/tickit_renderbuffer_blit.3
+++ b/man/tickit_renderbuffer_blit.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_renderbuffer_blit \- copies buffer contents to another buffer
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_blit(TickitRenderBuffer *" dst ", TickitRenderBuffer *" src );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_char.3 b/man/tickit_renderbuffer_char.3
index 56be22c..a36477b 100644
--- a/man/tickit_renderbuffer_char.3
+++ b/man/tickit_renderbuffer_char.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_renderbuffer_char, tickit_renderbuffer_char_at \- create character regions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_renderbuffer_char(TickitRenderBuffer *" rb ,
.BI " long " codepoint );
.BI "int tickit_renderbuffer_char_at(TickitRenderBuffer *" rb ,
.BI " int " line ", int " col ", long " codepoint );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_clip.3 b/man/tickit_renderbuffer_clip.3
index 5c7ae37..c94cd5d 100644
--- a/man/tickit_renderbuffer_clip.3
+++ b/man/tickit_renderbuffer_clip.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_renderbuffer_clip, tickit_renderbuffer_mask \- restrict the drawing area of output functions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_clip(TickitRenderBuffer *" rb ", TickitRect *" rect );
.BI "void tickit_renderbuffer_mask(TickitRenderBuffer *" rb ", TickitRect *" mask );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_erase.3 b/man/tickit_renderbuffer_erase.3
index 6eaafe6..94e5e1d 100644
--- a/man/tickit_renderbuffer_erase.3
+++ b/man/tickit_renderbuffer_erase.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_renderbuffer_erase, tickit_renderbuffer_erase_to, tickit_renderbuffer_erase_at \- create erase regions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_erase(TickitRenderBuffer *" rb ,
@@ -11,7 +11,7 @@ tickit_renderbuffer_erase, tickit_renderbuffer_erase_to, tickit_renderbuffer_era
.BI " int " col );
.BI "void tickit_renderbuffer_erase_at(TickitRenderBuffer *" rb ,
.BI " int " line ", int " col ", int " cols );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_eraserect.3 b/man/tickit_renderbuffer_eraserect.3
index 8d245ad..8b651b1 100644
--- a/man/tickit_renderbuffer_eraserect.3
+++ b/man/tickit_renderbuffer_eraserect.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_renderbuffer_eraserect, tickit_renderbuffer_clear \- erase large areas
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_eraserect(TickitRenderBuffer *" rb ,
.BI " TickitRect *" rect );
.BI "void tickit_renderbuffer_clear(TickitRenderBuffer *" rb );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_flush_to_term.3 b/man/tickit_renderbuffer_flush_to_term.3
index bea430a..ed64eeb 100644
--- a/man/tickit_renderbuffer_flush_to_term.3
+++ b/man/tickit_renderbuffer_flush_to_term.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_renderbuffer_flush_to_term \- output buffer contents to the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_flush_to_term(TickitRenderBuffer *" rb ", TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_get_cursorpos.3 b/man/tickit_renderbuffer_get_cursorpos.3
index bfca676..2a392a8 100644
--- a/man/tickit_renderbuffer_get_cursorpos.3
+++ b/man/tickit_renderbuffer_get_cursorpos.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_renderbuffer_has_cursorpos, tickit_renderbuffer_get_cursorpos \- query the virtual cursor position
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_renderbuffer_has_cursorpos(const TickitRenderBuffer *" rb );
.BI "void tickit_renderbuffer_get_cursorpos(const TickitRenderBuffer *" rb ", int " lines ", int " cols );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_get_size.3 b/man/tickit_renderbuffer_get_size.3
index 5012cae..abe584e 100644
--- a/man/tickit_renderbuffer_get_size.3
+++ b/man/tickit_renderbuffer_get_size.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_renderbuffer_get_size \- return the size of a render buffer
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_get_size(const TickitRenderBuffer *" rb ", int *" lines ", int *" cols );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_goto.3 b/man/tickit_renderbuffer_goto.3
index 4d90038..1f7e647 100644
--- a/man/tickit_renderbuffer_goto.3
+++ b/man/tickit_renderbuffer_goto.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_renderbuffer_goto, tickit_renderbuffer_ungoto \- set or clear the virtual cursor position
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_goto(TickitRenderBuffer *" rb ", int " line ", int " col );
.BI "void tickit_renderbuffer_ungoto(TickitRenderBuffer *" rb );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_hline_at.3 b/man/tickit_renderbuffer_hline_at.3
index ca26221..3325251 100644
--- a/man/tickit_renderbuffer_hline_at.3
+++ b/man/tickit_renderbuffer_hline_at.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_renderbuffer_hline_at, tickit_renderbuffer_vline_at \- create line regions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_hline_at(TickitRenderBuffer *" rb ,
@@ -11,7 +11,7 @@ tickit_renderbuffer_hline_at, tickit_renderbuffer_vline_at \- create line region
.BI "void tickit_renderbuffer_vline_at(TickitRenderBuffer *" rb ,
.BI " int " startline ", int " endline ", int " col ,
.BI " TickitLineStyle " style ", TickitLineCaps " caps );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_new.3 b/man/tickit_renderbuffer_new.3
index 7d89679..381b46b 100644
--- a/man/tickit_renderbuffer_new.3
+++ b/man/tickit_renderbuffer_new.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_renderbuffer_new, tickit_renderbuffer_destroy \- create or destroy a render buffer instance
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitRenderBuffer *tickit_renderbuffer_new(int " lines ", int " cols );
.BI "void tickit_renderbuffer_destroy(TickitRenderBuffer *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_reset.3 b/man/tickit_renderbuffer_reset.3
index fe842c7..f59b69b 100644
--- a/man/tickit_renderbuffer_reset.3
+++ b/man/tickit_renderbuffer_reset.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_renderbuffer_reset \- revert a render buffer back to initial state
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_reset(TickitRenderBuffer *" rb );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_save.3 b/man/tickit_renderbuffer_save.3
index 027bc40..5285df1 100644
--- a/man/tickit_renderbuffer_save.3
+++ b/man/tickit_renderbuffer_save.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_renderbuffer_save, tickit_renderbuffer_restore, tickit_renderbuffer_savepen \- save and restore auxiliary state
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_save(TickitRenderBuffer *" rb );
.BI "void tickit_renderbuffer_restore(TickitRenderBuffer *" rb );
.BI "void tickit_renderbuffer_savepen(TickitRenderBuffer *" rb );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_setpen.3 b/man/tickit_renderbuffer_setpen.3
index 7807a6b..208363c 100644
--- a/man/tickit_renderbuffer_setpen.3
+++ b/man/tickit_renderbuffer_setpen.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_renderbuffer_setpen \- change the stored rendering pen
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_setpen(TickitRenderBuffer *" rb ", const TickitPen *" pen );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_skip.3 b/man/tickit_renderbuffer_skip.3
index 213aaf7..5892817 100644
--- a/man/tickit_renderbuffer_skip.3
+++ b/man/tickit_renderbuffer_skip.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_renderbuffer_skip, tickit_renderbuffer_skip_at, tickit_renderbuffer_skip_to \- create skip regions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_skip(TickitRenderBuffer *" rb ,
@@ -11,7 +11,7 @@ tickit_renderbuffer_skip, tickit_renderbuffer_skip_at, tickit_renderbuffer_skip_
.BI " int " col );
.BI "void tickit_renderbuffer_skip_at(TickitRenderBuffer *" rb ,
.BI " int " line ", int " col ", int " cols );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_text.3 b/man/tickit_renderbuffer_text.3
index 3e057d2..de40438 100644
--- a/man/tickit_renderbuffer_text.3
+++ b/man/tickit_renderbuffer_text.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_renderbuffer_text, tickit_renderbuffer_text_at \- create text regions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_renderbuffer_text(TickitRenderBuffer *" rb ,
@@ -22,7 +22,7 @@ tickit_renderbuffer_text, tickit_renderbuffer_text_at \- create text regions
.BI " int " line ", int " col ", const char *" fmt ", ...);"
.BI "int tickit_renderbuffer_vtextf_at(TickitRenderBuffer *" rb ,
.BI " int " line ", int " col ", const char *" fmt ", va_list " args );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_renderbuffer_translate.3 b/man/tickit_renderbuffer_translate.3
index 498b599..4343903 100644
--- a/man/tickit_renderbuffer_translate.3
+++ b/man/tickit_renderbuffer_translate.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_renderbuffer_translate \- move the base of output functions
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_renderbuffer_translate(TickitRenderBuffer *" rb ", int " downward ", int " rightward );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_string_count.3 b/man/tickit_string_count.3
index ec5dc22..f9d80bd 100644
--- a/man/tickit_string_count.3
+++ b/man/tickit_string_count.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_string_count, tickit_string_countmore \- count characters in Unicode strings
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.B "typedef struct {"
@@ -21,7 +21,7 @@ tickit_string_count, tickit_string_countmore \- count characters in Unicode stri
.BI " TickitStringPos *" pos ", const TickitStringPos *" limit );
.BI "size_t tickit_string_ncountmore(const char *" str ,
.BI " TickitStringPos *" pos ", const TickitStringPos *" limit );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_string_mbswidth.3 b/man/tickit_string_mbswidth.3
index 90cf25f..5e44156 100644
--- a/man/tickit_string_mbswidth.3
+++ b/man/tickit_string_mbswidth.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_string_mbswidth, tickit_string_byte2col, tickit_string_col2byte \- count the column width of a Unicode string
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_string_mbswidth(const char *" str );
.sp
.BI "int tickit_string_byte2col(const char *" str ", size_t " byte );
.BI "size_t tickit_string_col2byte(const char *" str ", "int " col );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_string_putchar.3 b/man/tickit_string_putchar.3
index c4f5902..8cae6a6 100644
--- a/man/tickit_string_putchar.3
+++ b/man/tickit_string_putchar.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_string_putchar \- append a UTF-8 encoded codepoint to a buffer
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "size_t tickit_string_putchar(char *" str ", size_t " len ", long " codepoint );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_string_seqlen.3 b/man/tickit_string_seqlen.3
index ee1c8d1..ae5f9ec 100644
--- a/man/tickit_string_seqlen.3
+++ b/man/tickit_string_seqlen.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_string_seqlen \- determine the length of a UTF-8 codepoint encoding
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_string_seqlen(long " codepoint );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_stringpos_limit_bytes.3 b/man/tickit_stringpos_limit_bytes.3
index 773fdde..b2eb8df 100644
--- a/man/tickit_stringpos_limit_bytes.3
+++ b/man/tickit_stringpos_limit_bytes.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_stringpos_limit_... \- set limit fields in string position counters
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_stringpos_limit_bytes(TickitStringPos *" pos ", size_t " bytes );
@@ -16,7 +16,7 @@ tickit_stringpos_limit_... \- set limit fields in string position counters
.BI "#define INIT_TICKIT_STRINGPOS_LIMIT_GRAPHEMES(" grahpemes )
.BI "#define INIT_TICKIT_STRINGPOS_LIMIT_COLUMNS(" columns )
.BI "#define INIT_TICKIT_STRINGPOS_LIMIT_NONE"
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
@@ -24,9 +24,9 @@ The first four of these functions each set one of the counter fields in \fIpos\f
.PP
Each is also available as a macro which can be used to initialise a new \fBTickitStringPos\fP variable.
.PP
-.nf
+.EX
TickitStringPos limit = INIT_TICKIT_STRINGPOS_LIMIT_BYTES(b);
-.fi
+.EE
.SH "RETURN VALUE"
The functions all return no value. The macros expand to a struct initialiser expression.
.SH "SEE ALSO"
diff --git a/man/tickit_stringpos_zero.3 b/man/tickit_stringpos_zero.3
index dff77ff..795a96c 100644
--- a/man/tickit_stringpos_zero.3
+++ b/man/tickit_stringpos_zero.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_stringpos_zero \- clear the fields of a string position counter
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_stringpos_zero(TickitStringPos *" pos );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term.7 b/man/tickit_term.7
index 74fb977..d5c6543 100644
--- a/man/tickit_term.7
+++ b/man/tickit_term.7
@@ -2,11 +2,11 @@
.SH NAME
TickitTerm \- abstraction of an interactive terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef struct " TickitTerm ;
-.fi
+.EE
.sp
.SH DESCRIPTION
A \fBTickitTerm\fP instance represents an interactive user terminal. It provides functions to draw content to the terminal, and to accept input and other events from it. It supports a variety of modes of operation; allowing both synchronous and asynchronous filehandle IO, and working abstractly via byte buffers.
@@ -36,23 +36,23 @@ The event types recognised are:
.B TICKIT_EV_RESIZE
The terminal has been resized. \fIinfo\fP will point to a structure defined as:
.sp
-.nf
+.EX
.B typedef struct {
.BI " int " lines ;
.BI " int " cols ;
.BI "} " TickitResizeEventInfo ;
-.fi
+.EE
.TP
.B TICKIT_EV_KEY
A key has been pressed on the keyboard. \fIinfo\fP will point to a structure defined as:
.sp
-.nf
+.EX
.B typedef struct {
.BI " TickitKeyEventType " type ;
.BI " int " mod ;
.BI " const char *" str ;
.BI "} " TickitKeyEventInfo ;
-.fi
+.EE
.IP
\fItype\fP is an enumeration that gives the specific type of key event.
.RS
@@ -76,7 +76,7 @@ later handler functions from observing it.
.B TICKIT_EV_MOUSE
A mouse button has been pressed or released, the mouse cursor moved while dragging a button, or the wheel has been scrolled. \fIinfo\fP will point to a structure defined as:
.sp
-.nf
+.EX
.B typedef struct {
.BI " TickitMouseEventType " type ;
.BI " int " button ;
@@ -84,7 +84,7 @@ A mouse button has been pressed or released, the mouse cursor moved while draggi
.BI " int " line ;
.BI " int " col ;
.BI "} " TickitMouseEventInfo ;
-.fi
+.EE
.IP
\fItype\fP is an enumeration that gives the specific type of mouse event.
.RS
diff --git a/man/tickit_term_await_started_msec.3 b/man/tickit_term_await_started_msec.3
index 4418d94..c85e107 100644
--- a/man/tickit_term_await_started_msec.3
+++ b/man/tickit_term_await_started_msec.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_await_started_* \- wait until the terminal is initialised
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_await_started_msec(TickitTerm *" tt ", long" msec );
.BI "void tickit_term_await_started_tv(TickitTerm *" tt ", const struct timeval *" timeout );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_bind_event.3 b/man/tickit_term_bind_event.3
index 7060aad..25b2f7e 100644
--- a/man/tickit_term_bind_event.3
+++ b/man/tickit_term_bind_event.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_term_bind_event, tickit_term_unbind_event_id \- add or remove event handlers
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef void " TickitTermEventFn "(TickitTerm *" tt ", TickitEventType " ev ,
@@ -11,7 +11,7 @@ tickit_term_bind_event, tickit_term_unbind_event_id \- add or remove event handl
.BI "int tickit_term_bind_event(TickitTerm *" tt ", TickitEventType " ev ,
.BI " TickitTermEventFn *" fn ", void *" user );
.BI "void tickit_term_unbind_event_id(TickitTerm *" tt ", int " id );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_chpen.3 b/man/tickit_term_chpen.3
index 65f91f0..21d8113 100644
--- a/man/tickit_term_chpen.3
+++ b/man/tickit_term_chpen.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_chpen, tickit_term_setpen \- set rendering attributes of the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_chpen(TickitTerm *" tt ", TickitPen *" pen );
.BI "void tickit_term_setpen(TickitTerm *" tt ", TickitPen *" pen );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_clear.3 b/man/tickit_term_clear.3
index 5f32f6b..cfa10dd 100644
--- a/man/tickit_term_clear.3
+++ b/man/tickit_term_clear.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_clear \- clear the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_clear(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_erasech.3 b/man/tickit_term_erasech.3
index b8c3876..2199126 100644
--- a/man/tickit_term_erasech.3
+++ b/man/tickit_term_erasech.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_erasech \- erase characters from the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_erasech(TickitTerm *" tt ", int " count ", TickitMaybeBool " moveend );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_flush.3 b/man/tickit_term_flush.3
index 984407b..1423ed6 100644
--- a/man/tickit_term_flush.3
+++ b/man/tickit_term_flush.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_flush \- flush the terminal output buffer
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_flush(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_get_size.3 b/man/tickit_term_get_size.3
index bcf0d3a..cd96d6b 100644
--- a/man/tickit_term_get_size.3
+++ b/man/tickit_term_get_size.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_term_get_size, tickit_term_set_size, tickit_term_refresh_size \- manage terminal size
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_get_size(TickitTerm *" tt ", int *" lines ", int *" cols );
.BI "void tickit_term_set_size(TickitTerm *" tt ", int " lines ", int " cols );
.BI "void tickit_term_refresh_size(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_get_termtype.3 b/man/tickit_term_get_termtype.3
index c8d5988..3cd56fb 100644
--- a/man/tickit_term_get_termtype.3
+++ b/man/tickit_term_get_termtype.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_get_termtype \- returns the terminal type
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "const char *tickit_term_get_termtype(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_goto.3 b/man/tickit_term_goto.3
index 5e93731..bf18324 100644
--- a/man/tickit_term_goto.3
+++ b/man/tickit_term_goto.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_goto, tickit_term_move \- move the terminal output cursor
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_term_goto(TickitTerm *" tt ", int " line ", int " col );
.BI "void tickit_term_move(TickitTerm *" tt ", int " downward ", int " rightward );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_input_check_timeout_msec.3 b/man/tickit_term_input_check_timeout_msec.3
index 03840d3..8b99b10 100644
--- a/man/tickit_term_input_check_timeout_msec.3
+++ b/man/tickit_term_input_check_timeout_msec.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_input_check_timeout_msec \- terminal timeout behaviour
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "int tickit_term_input_check_timeout_msec(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_input_push_bytes.3 b/man/tickit_term_input_push_bytes.3
index ee95a45..5ada61f 100644
--- a/man/tickit_term_input_push_bytes.3
+++ b/man/tickit_term_input_push_bytes.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_input_push_bytes \- supply more input data
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_input_push_bytes(TickitTerm *" tt ", const char *" bytes ", size_t " len );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_input_readable.3 b/man/tickit_term_input_readable.3
index d114486..9aaaaa1 100644
--- a/man/tickit_term_input_readable.3
+++ b/man/tickit_term_input_readable.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_input_readable \- read more data from the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_input_readable(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_input_wait_msec.3 b/man/tickit_term_input_wait_msec.3
index 1aad46c..900c2a9 100644
--- a/man/tickit_term_input_wait_msec.3
+++ b/man/tickit_term_input_wait_msec.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_input_wait_* \- read more data from the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_input_wait_msec(TickitTerm *" tt ", long " msec );
.BI "void tickit_term_input_wait_tv(TickitTerm *" tt ", const struct timeval *" timeout );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_new.3 b/man/tickit_term_new.3
index d1d62f7..329e113 100644
--- a/man/tickit_term_new.3
+++ b/man/tickit_term_new.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_term_new, tickit_term_destroy \- create or destroy a terminal instance
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitTerm *tickit_term_new(void);"
.BI "TickitTerm *tickit_term_new_for_termtype(const char *" termtype );
.BI "void tickit_term_destroy(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_observe_sigwinch.3 b/man/tickit_term_observe_sigwinch.3
index d8be28d..f9a74ce 100644
--- a/man/tickit_term_observe_sigwinch.3
+++ b/man/tickit_term_observe_sigwinch.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_observe_sigwinch \- react to the SIGWINCH signal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_observe_sigwinch(TickitTerm *" tt ", bool " observe );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_open_stdio.3 b/man/tickit_term_open_stdio.3
index fcf3db4..a278691 100644
--- a/man/tickit_term_open_stdio.3
+++ b/man/tickit_term_open_stdio.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_open_stdio \- create a terminal instance on standard input/output
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitTerm *tickit_term_open_stdio(void);"
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_print.3 b/man/tickit_term_print.3
index 49826a4..4564d69 100644
--- a/man/tickit_term_print.3
+++ b/man/tickit_term_print.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_term_print \- send text to the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_print(TickitTerm *" tt ", const char *" str );
@@ -10,7 +10,7 @@ tickit_term_print \- send text to the terminal
.sp
.BI "void tickit_term_printf(TickitTerm *" tt ", const char *" fmt ", ...);"
.BI "void tickit_term_vprintf(TickitTerm *" tt ", const char *" fmt ", va_list " args );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_scrollrect.3 b/man/tickit_term_scrollrect.3
index 1d9e4c8..c2e822e 100644
--- a/man/tickit_term_scrollrect.3
+++ b/man/tickit_term_scrollrect.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_scrollrect \- scroll a region of the terminal
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_term_scrollrect(TickitTerm *" tt ", TickitRect " rect ",
.BI " int " downward ", int " rightward );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_set_input_fd.3 b/man/tickit_term_set_input_fd.3
index 7eb70b6..6cae17f 100644
--- a/man/tickit_term_set_input_fd.3
+++ b/man/tickit_term_set_input_fd.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_set_input_fd, tickit_term_get_input_fd \- manage terminal input
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_set_input_fd(TickitTerm *" tt ", int " fd );
.BI "int tickit_term_get_input_fd(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_set_output_buffer.3 b/man/tickit_term_set_output_buffer.3
index 6612515..916e362 100644
--- a/man/tickit_term_set_output_buffer.3
+++ b/man/tickit_term_set_output_buffer.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_term_set_output_buffer \- define a terminal output buffer
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_set_output_buffer(TickitTerm *" tt ", size_t " len );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_set_output_fd.3 b/man/tickit_term_set_output_fd.3
index c2c8a2c..d552091 100644
--- a/man/tickit_term_set_output_fd.3
+++ b/man/tickit_term_set_output_fd.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_term_set_output_fd, tickit_term_get_output_fd \- manage terminal output
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_set_output_fd(TickitTerm *" tt ", int " fd );
.BI "int tickit_term_get_output_fd(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_set_output_func.3 b/man/tickit_term_set_output_func.3
index cfdba4e..b1e95d6 100644
--- a/man/tickit_term_set_output_func.3
+++ b/man/tickit_term_set_output_func.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_term_set_output_func \- manage terminal output via a callback function
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef void " TickitTermOutputFunc "(TickitTerm *" tt ", const char *" bytes ,
@@ -10,7 +10,7 @@ tickit_term_set_output_func \- manage terminal output via a callback function
.sp
.BI "void tickit_term_set_output_func(TickitTerm *" tt ,
.BI " TickitTermOutputFunc *" fn ", void *" user );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_set_utf8.3 b/man/tickit_term_set_utf8.3
index ae89ba6..5601961 100644
--- a/man/tickit_term_set_utf8.3
+++ b/man/tickit_term_set_utf8.3
@@ -4,12 +4,12 @@ tickit_term_set_utf8, tickit_term_get_utf8 \- control
.SM UTF-8
mode
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_term_set_utf8(TickitTerm *" tt ", bool " utf8 );
.BI "TickitMaybeBool tickit_term_get_utf8(TickitTerm *" tt );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_term_setctl_int.3 b/man/tickit_term_setctl_int.3
index f2e86fb..8ab897b 100644
--- a/man/tickit_term_setctl_int.3
+++ b/man/tickit_term_setctl_int.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_term_setctl_int, tickit_term_setctl_str \- set an integer or string terminal control
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_term_getctl_int(TickitTerm *" tt ", TickitTermCtl " ctl ", int *" value );
.BI "bool tickit_term_setctl_int(TickitTerm *" tt ", TickitTermCtl " ctl ", int " value );
.BI "bool tickit_term_setctl_str(TickitTerm *" tt ", TickitTermCtl " ctl ", const char *" value );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window.7 b/man/tickit_window.7
index 8245b1f..9fc39b3 100644
--- a/man/tickit_window.7
+++ b/man/tickit_window.7
@@ -2,11 +2,11 @@
.SH NAME
TickitWindow \- a window for drawing operations and input
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef struct " TickitWindow ;
-.fi
+.EE
.sp
.SH DESCRIPTION
A \fBTickitWindow\fP instance represents a rectangular region of the screen. Windows are constructed as sub-divisions of existing windows, ultimately coming from a special "root window" is that represents the entire area of the terminal. Each window allows drawing to its region of the screen by responding to an event that signifies damage to that area that needs to be repainted, and has other events that represent user input.
@@ -62,36 +62,36 @@ A dragging motion has stopped by the mouse button being released. This event is
.B TICKIT_EV_GEOMCHANGE
At least one of the fields of the window geometry have been changed, meaning it now occupies a different area of the screen. \fIinfo\fP will point to a structure defined as:
.sp
-.nf
+.EX
.B typedef struct {
.BI " TickitRect " rect ;
.BI " TickitRect " oldrect ;
.BI "} " TickitGeomchangeEventInfo ;
-.fi
+.EE
.IP
\fIrect\fP gives the new geometry of the window relative to its parent, and \fIoldrect\fP gives the previous geometry.
.TP
.B TICKIT_EV_EXPOSE
An area of the window needs to be re-rendered because it has now been freshly exposed; either because of stacking or visibilty changes of this or sibling windows, a cascaded expose event on its parent, or due to a call to \fBtickit_window_expose\fP(). \fIinfo\fP will point to a structure defined as:
.sp
-.nf
+.EX
.B typedef struct {
.BI " TickitRect " rect ;
.BI " TickitRenderBuffer *" rb ;
.BI "} " TickitExposeEventInfo ;
-.fi
+.EE
.IP
\fIrect\fP gives the region of the window that needs to be redrawn. This will always be inside the window's bounds. If multiple pending regions need to be exposed, they are output in non-overlapping segments. The handling function or functions should then use the \fBTickitRenderBuffer\fP instance given by the \fIrb\fP field to draw the required contents of the window to. This instance will already be set up with the appropriate drawing pen, clipping rectangle and hole regions to account for the window hierarchy.
.TP
.B TICKIT_EV_FOCUS
This window has either gained or lost the input focus, or a child of it has an this window is set to also notify on that case by using \fBtickit_window_set_focus_child_notify\fP(). \fIinfo\fP will point to a structure defined as:
.sp
-.nf
+.EX
.B typedef struct {
.BI " TickitFocusEventType " type ;
.BI " TickitWindow *" win ;
.BI "} " TickitFocusEventInfo ;
-.fi
+.EE
.IP
\fItype\fP takes onw of the values \fBTICKIT_FOCUSEV_IN\fP or \fBTICKIT_FOCUSEV_OUT\fP. \fIwin\fP will normally be the window that is invoking the event, except for the case of notifications about child windows, where it will indicate which child has changed focus. When a focus change happens, the window losing focus receives its \fBTICKIT_FOCUSEV_OUT\fP event before the window gaining it receives its \fBTICKIT_FOCUSEV_IN\fP.
.SH "SEE ALSO"
diff --git a/man/tickit_window_bind_event.3 b/man/tickit_window_bind_event.3
index 43f2f3d..5a4bcaa 100644
--- a/man/tickit_window_bind_event.3
+++ b/man/tickit_window_bind_event.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_window_bind_event, tickit_window_unbind_event_id \- add or remove event handlers
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "typedef void " TickitWindowEventFn "(TickitWindow *" win ", TickitEventType " ev ,
@@ -11,7 +11,7 @@ tickit_window_bind_event, tickit_window_unbind_event_id \- add or remove event h
.BI "int tickit_window_bind_event(TickitWindow *" win ", TickitEventType " ev ,
.BI " TickitWindowEventFn *" fn ", void *" user );
.BI "void tickit_window_unbind_event_id(TickitWindow *" win ", int " id );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_destroy.3 b/man/tickit_window_destroy.3
index b0ba510..81d7da0 100644
--- a/man/tickit_window_destroy.3
+++ b/man/tickit_window_destroy.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_window_destroy \- destroy a window instance
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_destroy(TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_expose.3 b/man/tickit_window_expose.3
index d07bfe4..58279f9 100644
--- a/man/tickit_window_expose.3
+++ b/man/tickit_window_expose.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_window_expose \- mark an area of a window for re-rendering
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_expose(TickitWindow *" win ", const TickitRect *" exposed );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_flush.3 b/man/tickit_window_flush.3
index 18fc4ef..334b67d 100644
--- a/man/tickit_window_flush.3
+++ b/man/tickit_window_flush.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_window_flush \- invoke pending events on the window hierarchy
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_flush(TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
@@ -14,13 +14,13 @@ Link with \fI\-ltickit\fP.
.PP
An application working at the window level would typically use this function in conjunction with input even waiting, to drive the main loop of the core logic. Such a loop may look like:
.sp
-.nf
+.EX
.in
while(1) {
tickit_window_flush(rootwin);
tickit_term_input_wait_msec(term, -1);
}
-.fi
+.EE
.PP
There is no adverse effect of calling this function when here are no pending events on the window instance. An application that makes use of multiple root windows across multiple terminal instances in a multi-head setup can safely invoke it on all the root windows at once.
.SH "RETURN VALUE"
diff --git a/man/tickit_window_get_abs_geometry.3 b/man/tickit_window_get_abs_geometry.3
index 3d70a08..1bf7da2 100644
--- a/man/tickit_window_get_abs_geometry.3
+++ b/man/tickit_window_get_abs_geometry.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_window_get_abs_geometry \- query the absolute position of a window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitRect tickit_window_get_abs_geometry(const TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_get_geometry.3 b/man/tickit_window_get_geometry.3
index 66cb350..a9f209a 100644
--- a/man/tickit_window_get_geometry.3
+++ b/man/tickit_window_get_geometry.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_window_get_geometry \- query the size and position of a window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitRect tickit_window_get_geometry(const TickitWindow *" win );
@@ -14,7 +14,7 @@ tickit_window_get_geometry \- query the size and position of a window
.sp
.BI "int tickit_window_bottom(const TickitWindow *" win );
.BI "int tickit_window_right(const TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_get_pen.3 b/man/tickit_window_get_pen.3
index 0a4d60a..84066e1 100644
--- a/man/tickit_window_get_pen.3
+++ b/man/tickit_window_get_pen.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_window_get_pen, tickit_window_set_pen \- manipulate the window's rendering pen
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitPen *tickit_window_get_pen(const TickitWindow *" win );
.BI "void tickit_window_set_pen(TickitWindow *" win ", TickitPen " pen );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_new.3 b/man/tickit_window_new.3
index 3640b5d..cf28a2d 100644
--- a/man/tickit_window_new.3
+++ b/man/tickit_window_new.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_window_new \- create a new sub-window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitWindow *tickit_window_new(TickitWindow *" parent ", TickitRect " rect ,
.BI " TickitWindowFlags " flags );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_new_root.3 b/man/tickit_window_new_root.3
index 73d7764..bc7f1e4 100644
--- a/man/tickit_window_new_root.3
+++ b/man/tickit_window_new_root.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_window_new_root \- create a new toplevel root window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitWindow *tickit_window_new_root(TickitTerm *" term );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_parent.3 b/man/tickit_window_parent.3
index a44b29d..15f8313 100644
--- a/man/tickit_window_parent.3
+++ b/man/tickit_window_parent.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_window_parent, tickit_window_root \- query the ancestry of a window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "TickitWindow *tickit_window_parent(const TickitWindow *" win );
.BI "TickitWindow *tickit_window_root(const TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_raise.3 b/man/tickit_window_raise.3
index 8cb9ae8..a92ca14 100644
--- a/man/tickit_window_raise.3
+++ b/man/tickit_window_raise.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_window_raise, tickit_window_lower \- change window stacking order
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_raise(TickitWindow *" win );
.BI "void tickit_window_raise_to_front(TickitWindow *" win );
.BI "void tickit_window_lower(TickitWindow *" win );
.BI "void tickit_window_lower_to_back(TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_scroll.3 b/man/tickit_window_scroll.3
index 3a66f90..e37cc2b 100644
--- a/man/tickit_window_scroll.3
+++ b/man/tickit_window_scroll.3
@@ -2,7 +2,7 @@
.SH NAME
tickit_window_scroll, tickit_window_scrollrect \- scroll the area of a window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "bool tickit_window_scroll(TickitWindow *" win ", int " downward ", int " rightward );
@@ -11,7 +11,7 @@ tickit_window_scroll, tickit_window_scrollrect \- scroll the area of a window
.sp
.BI "bool tickit_window_scroll_with_children(TickitWindow *" win ,
.BI " int " downward ", int " rightward );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_set_cursor_position.3 b/man/tickit_window_set_cursor_position.3
index a3a14a4..5c4c557 100644
--- a/man/tickit_window_set_cursor_position.3
+++ b/man/tickit_window_set_cursor_position.3
@@ -2,13 +2,13 @@
.SH NAME
tickit_window_set_cursor_position, tickit_window_set_cursor_visible, tickit_window_set_cursor_shape \- modify the cursor state on a window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_set_cursor_position(TickitWindow *" win ", int " line ", int " col );
.BI "void tickit_window_set_cursor_visible(TickitWindow *" win ", bool " visible );
.BI "void tickit_window_set_cursor_shape(TickitWindow *" win ", TickitCursorShape " shape );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_set_focus_child_notify.3 b/man/tickit_window_set_focus_child_notify.3
index 3789106..d3edfca 100644
--- a/man/tickit_window_set_focus_child_notify.3
+++ b/man/tickit_window_set_focus_child_notify.3
@@ -2,11 +2,11 @@
.SH NAME
tickit_window_set_focus_child_notify \- control whether windows are informed of child focus changes
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_set_focus_child_notify(TickitWindow *" win ", bool " notify );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_set_geometry.3 b/man/tickit_window_set_geometry.3
index d1a8efd..47c1a1a 100644
--- a/man/tickit_window_set_geometry.3
+++ b/man/tickit_window_set_geometry.3
@@ -2,14 +2,14 @@
.SH NAME
tickit_window_set_geometry \- set the size and position of a window
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_set_geometry(TickitWindow *" win ", TickitRect " geom );
.sp
.BI "void tickit_window_resize(TickitWindow *" win ", int " lines ", int " cols );
.BI "void tickit_window_reposition(TickitWindow * " win ", int " top ", int " left );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_show.3 b/man/tickit_window_show.3
index 4e70150..8f9f17b 100644
--- a/man/tickit_window_show.3
+++ b/man/tickit_window_show.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_window_show, tickit_window_hide \- control a window's visibility
.SH SYNOPSIS
-.nf
+.EX
.BI "void tickit_window_show(TickitWindow *" win );
.BI "void tickit_window_hide(TickitWindow *" win );
.sp
.BI "bool tickit_window_is_visible(TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION
diff --git a/man/tickit_window_take_focus.3 b/man/tickit_window_take_focus.3
index 88e39fb..adbd054 100644
--- a/man/tickit_window_take_focus.3
+++ b/man/tickit_window_take_focus.3
@@ -2,12 +2,12 @@
.SH NAME
tickit_window_take_focus, tickit_window_is_focused \- control the input focus
.SH SYNOPSIS
-.nf
+.EX
.B #include <tickit.h>
.sp
.BI "void tickit_window_take_focus(TickitWindow *" win );
.BI "bool tickit_window_is_focused(const TickitWindow *" win );
-.fi
+.EE
.sp
Link with \fI\-ltickit\fP.
.SH DESCRIPTION