aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.width.3
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-21 14:45:39 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-21 14:45:39 -0400
commit6ee5af0a16a5f1a32eb933e30d8b86ff4e691beb (patch)
treea4ccc48bef576be1cfd4d30342eebc684474e8f5 /man/man3/tomo-Text.width.3
parent868ca31562dcc5d484d8f015adfa173c0a43c415 (diff)
Add short descriptions for API methods to improve manpages
Diffstat (limited to 'man/man3/tomo-Text.width.3')
-rw-r--r--man/man3/tomo-Text.width.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/tomo-Text.width.3 b/man/man3/tomo-Text.width.3
index a4dff67b..c9dbdcf5 100644
--- a/man/man3/tomo-Text.width.3
+++ b/man/man3/tomo-Text.width.3
@@ -2,21 +2,21 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text.width 3 2025-04-19T14:52:07.140841 "Tomo man-pages"
+.TH Text.width 3 2025-04-21T14:44:34.265245 "Tomo man-pages"
.SH NAME
-Text.width \- Returns the display width of the text as seen in a terminal with appropriate font rendering. This is usually the same as the text's `.length`, but there are some characters like emojis that render wider than 1 cell.
-
+Text.width \- get display width
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Text.width\ :\ func(text:\ Text\ ->\ Int)
.fi
-
.SH DESCRIPTION
Returns the display width of the text as seen in a terminal with appropriate font rendering. This is usually the same as the text's `.length`, but there are some characters like emojis that render wider than 1 cell.
+.SH ARGUMENTS
+
.TS
allbox;
lb lb lbx lb