diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/classes/bitflags.html | 4 | ||||
| -rw-r--r-- | docs/examples/compat.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/flag_debugging.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/password_input.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/read.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/readline.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/spinner.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/spiral_snake.lua.html | 4 | ||||
| -rw-r--r-- | docs/examples/terminalsize.lua.html | 4 | ||||
| -rw-r--r-- | docs/index.html | 34 | ||||
| -rw-r--r-- | docs/modules/system.html | 66 | ||||
| -rw-r--r-- | docs/topics/01-introduction.md.html | 4 | ||||
| -rw-r--r-- | docs/topics/02-development.md.html | 4 | ||||
| -rw-r--r-- | docs/topics/03-terminal.md.html | 4 | ||||
| -rw-r--r-- | docs/topics/CHANGELOG.md.html | 29 | ||||
| -rw-r--r-- | docs/topics/LICENSE.md.html | 6 |
16 files changed, 131 insertions, 52 deletions
diff --git a/docs/classes/bitflags.html b/docs/classes/bitflags.html index 7637aeb..97595ae 100644 --- a/docs/classes/bitflags.html +++ b/docs/classes/bitflags.html | |||
| @@ -297,8 +297,8 @@ return <code>false</code> if the flags are checked. | |||
| 297 | </div> <!-- id="content" --> | 297 | </div> <!-- id="content" --> |
| 298 | </div> <!-- id="main" --> | 298 | </div> <!-- id="main" --> |
| 299 | <div id="about"> | 299 | <div id="about"> |
| 300 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 300 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 301 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 301 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 302 | </div> <!-- id="about" --> | 302 | </div> <!-- id="about" --> |
| 303 | </div> <!-- id="container" --> | 303 | </div> <!-- id="container" --> |
| 304 | </body> | 304 | </body> |
diff --git a/docs/examples/compat.lua.html b/docs/examples/compat.lua.html index ca4e489..e5b37f2 100644 --- a/docs/examples/compat.lua.html +++ b/docs/examples/compat.lua.html | |||
| @@ -111,8 +111,8 @@ | |||
| 111 | </div> <!-- id="content" --> | 111 | </div> <!-- id="content" --> |
| 112 | </div> <!-- id="main" --> | 112 | </div> <!-- id="main" --> |
| 113 | <div id="about"> | 113 | <div id="about"> |
| 114 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 114 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 115 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 115 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 116 | </div> <!-- id="about" --> | 116 | </div> <!-- id="about" --> |
| 117 | </div> <!-- id="container" --> | 117 | </div> <!-- id="container" --> |
| 118 | </body> | 118 | </body> |
diff --git a/docs/examples/flag_debugging.lua.html b/docs/examples/flag_debugging.lua.html index dba4471..3b018ce 100644 --- a/docs/examples/flag_debugging.lua.html +++ b/docs/examples/flag_debugging.lua.html | |||
| @@ -79,8 +79,8 @@ | |||
| 79 | </div> <!-- id="content" --> | 79 | </div> <!-- id="content" --> |
| 80 | </div> <!-- id="main" --> | 80 | </div> <!-- id="main" --> |
| 81 | <div id="about"> | 81 | <div id="about"> |
| 82 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 82 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 83 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 83 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 84 | </div> <!-- id="about" --> | 84 | </div> <!-- id="about" --> |
| 85 | </div> <!-- id="container" --> | 85 | </div> <!-- id="container" --> |
| 86 | </body> | 86 | </body> |
diff --git a/docs/examples/password_input.lua.html b/docs/examples/password_input.lua.html index 342b066..53ef422 100644 --- a/docs/examples/password_input.lua.html +++ b/docs/examples/password_input.lua.html | |||
| @@ -131,8 +131,8 @@ useful for reading secrets from the user. | |||
| 131 | </div> <!-- id="content" --> | 131 | </div> <!-- id="content" --> |
| 132 | </div> <!-- id="main" --> | 132 | </div> <!-- id="main" --> |
| 133 | <div id="about"> | 133 | <div id="about"> |
| 134 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 134 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 135 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 135 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 136 | </div> <!-- id="about" --> | 136 | </div> <!-- id="about" --> |
| 137 | </div> <!-- id="container" --> | 137 | </div> <!-- id="container" --> |
| 138 | </body> | 138 | </body> |
diff --git a/docs/examples/read.lua.html b/docs/examples/read.lua.html index 4995bda..ed6c394 100644 --- a/docs/examples/read.lua.html +++ b/docs/examples/read.lua.html | |||
| @@ -142,8 +142,8 @@ sys.<span class="function-name">setnonblock</span>(<span class="global">io</span | |||
| 142 | </div> <!-- id="content" --> | 142 | </div> <!-- id="content" --> |
| 143 | </div> <!-- id="main" --> | 143 | </div> <!-- id="main" --> |
| 144 | <div id="about"> | 144 | <div id="about"> |
| 145 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 145 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 146 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 146 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 147 | </div> <!-- id="about" --> | 147 | </div> <!-- id="about" --> |
| 148 | </div> <!-- id="container" --> | 148 | </div> <!-- id="container" --> |
| 149 | </body> | 149 | </body> |
diff --git a/docs/examples/readline.lua.html b/docs/examples/readline.lua.html index 493de2c..633e152 100644 --- a/docs/examples/readline.lua.html +++ b/docs/examples/readline.lua.html | |||
| @@ -548,8 +548,8 @@ sys.<span class="function-name">setconsoleflags</span>(<span class="global">io</ | |||
| 548 | </div> <!-- id="content" --> | 548 | </div> <!-- id="content" --> |
| 549 | </div> <!-- id="main" --> | 549 | </div> <!-- id="main" --> |
| 550 | <div id="about"> | 550 | <div id="about"> |
| 551 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 551 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 552 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 552 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 553 | </div> <!-- id="about" --> | 553 | </div> <!-- id="about" --> |
| 554 | </div> <!-- id="container" --> | 554 | </div> <!-- id="container" --> |
| 555 | </body> | 555 | </body> |
diff --git a/docs/examples/spinner.lua.html b/docs/examples/spinner.lua.html index 6e2d63a..bef87c0 100644 --- a/docs/examples/spinner.lua.html +++ b/docs/examples/spinner.lua.html | |||
| @@ -136,8 +136,8 @@ sys.<span class="function-name">setnonblock</span>(<span class="global">io</span | |||
| 136 | </div> <!-- id="content" --> | 136 | </div> <!-- id="content" --> |
| 137 | </div> <!-- id="main" --> | 137 | </div> <!-- id="main" --> |
| 138 | <div id="about"> | 138 | <div id="about"> |
| 139 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 139 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 140 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 140 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 141 | </div> <!-- id="about" --> | 141 | </div> <!-- id="about" --> |
| 142 | </div> <!-- id="container" --> | 142 | </div> <!-- id="container" --> |
| 143 | </body> | 143 | </body> |
diff --git a/docs/examples/spiral_snake.lua.html b/docs/examples/spiral_snake.lua.html index 97d5f77..94f38dc 100644 --- a/docs/examples/spiral_snake.lua.html +++ b/docs/examples/spiral_snake.lua.html | |||
| @@ -144,8 +144,8 @@ codes for moving the cursor around. | |||
| 144 | </div> <!-- id="content" --> | 144 | </div> <!-- id="content" --> |
| 145 | </div> <!-- id="main" --> | 145 | </div> <!-- id="main" --> |
| 146 | <div id="about"> | 146 | <div id="about"> |
| 147 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 147 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 148 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 148 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 149 | </div> <!-- id="about" --> | 149 | </div> <!-- id="about" --> |
| 150 | </div> <!-- id="container" --> | 150 | </div> <!-- id="container" --> |
| 151 | </body> | 151 | </body> |
diff --git a/docs/examples/terminalsize.lua.html b/docs/examples/terminalsize.lua.html index d3486bb..c29bd1b 100644 --- a/docs/examples/terminalsize.lua.html +++ b/docs/examples/terminalsize.lua.html | |||
| @@ -109,8 +109,8 @@ sys.<span class="function-name">tcsetattr</span>(<span class="global">io</span>. | |||
| 109 | </div> <!-- id="content" --> | 109 | </div> <!-- id="content" --> |
| 110 | </div> <!-- id="main" --> | 110 | </div> <!-- id="main" --> |
| 111 | <div id="about"> | 111 | <div id="about"> |
| 112 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 112 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 113 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 113 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 114 | </div> <!-- id="about" --> | 114 | </div> <!-- id="about" --> |
| 115 | </div> <!-- id="container" --> | 115 | </div> <!-- id="container" --> |
| 116 | </body> | 116 | </body> |
diff --git a/docs/index.html b/docs/index.html index e901d08..66db274 100644 --- a/docs/index.html +++ b/docs/index.html | |||
| @@ -68,72 +68,72 @@ | |||
| 68 | <h2>Modules</h2> | 68 | <h2>Modules</h2> |
| 69 | <table class="module_list"> | 69 | <table class="module_list"> |
| 70 | <tr> | 70 | <tr> |
| 71 | <td class="name" nowrap><a href="modules/system.html">system</a></td> | 71 | <td class="name" nowrap><a href="modules/system.html">system</a></td> |
| 72 | <td class="summary">Platform independent system calls for Lua.</td> | 72 | <td class="summary">Platform independent system calls for Lua.</td> |
| 73 | </tr> | 73 | </tr> |
| 74 | </table> | 74 | </table> |
| 75 | <h2>Classes</h2> | 75 | <h2>Classes</h2> |
| 76 | <table class="module_list"> | 76 | <table class="module_list"> |
| 77 | <tr> | 77 | <tr> |
| 78 | <td class="name" nowrap><a href="classes/bitflags.html">bitflags</a></td> | 78 | <td class="name" nowrap><a href="classes/bitflags.html">bitflags</a></td> |
| 79 | <td class="summary">Bitflags module.</td> | 79 | <td class="summary">Bitflags module.</td> |
| 80 | </tr> | 80 | </tr> |
| 81 | </table> | 81 | </table> |
| 82 | <h2>Topics</h2> | 82 | <h2>Topics</h2> |
| 83 | <table class="module_list"> | 83 | <table class="module_list"> |
| 84 | <tr> | 84 | <tr> |
| 85 | <td class="name" nowrap><a href="topics/01-introduction.md.html">01-introduction.md</a></td> | 85 | <td class="name" nowrap><a href="topics/01-introduction.md.html">01-introduction.md</a></td> |
| 86 | <td class="summary"></td> | 86 | <td class="summary"></td> |
| 87 | </tr> | 87 | </tr> |
| 88 | <tr> | 88 | <tr> |
| 89 | <td class="name" nowrap><a href="topics/02-development.md.html">02-development.md</a></td> | 89 | <td class="name" nowrap><a href="topics/02-development.md.html">02-development.md</a></td> |
| 90 | <td class="summary"></td> | 90 | <td class="summary"></td> |
| 91 | </tr> | 91 | </tr> |
| 92 | <tr> | 92 | <tr> |
| 93 | <td class="name" nowrap><a href="topics/03-terminal.md.html">03-terminal.md</a></td> | 93 | <td class="name" nowrap><a href="topics/03-terminal.md.html">03-terminal.md</a></td> |
| 94 | <td class="summary"></td> | 94 | <td class="summary"></td> |
| 95 | </tr> | 95 | </tr> |
| 96 | <tr> | 96 | <tr> |
| 97 | <td class="name" nowrap><a href="topics/CHANGELOG.md.html">CHANGELOG.md</a></td> | 97 | <td class="name" nowrap><a href="topics/CHANGELOG.md.html">CHANGELOG.md</a></td> |
| 98 | <td class="summary"></td> | 98 | <td class="summary"></td> |
| 99 | </tr> | 99 | </tr> |
| 100 | <tr> | 100 | <tr> |
| 101 | <td class="name" nowrap><a href="topics/LICENSE.md.html">LICENSE.md</a></td> | 101 | <td class="name" nowrap><a href="topics/LICENSE.md.html">LICENSE.md</a></td> |
| 102 | <td class="summary"></td> | 102 | <td class="summary"></td> |
| 103 | </tr> | 103 | </tr> |
| 104 | </table> | 104 | </table> |
| 105 | <h2>Examples</h2> | 105 | <h2>Examples</h2> |
| 106 | <table class="module_list"> | 106 | <table class="module_list"> |
| 107 | <tr> | 107 | <tr> |
| 108 | <td class="name" nowrap><a href="examples/compat.lua.html">compat.lua</a></td> | 108 | <td class="name" nowrap><a href="examples/compat.lua.html">compat.lua</a></td> |
| 109 | <td class="summary"></td> | 109 | <td class="summary"></td> |
| 110 | </tr> | 110 | </tr> |
| 111 | <tr> | 111 | <tr> |
| 112 | <td class="name" nowrap><a href="examples/flag_debugging.lua.html">flag_debugging.lua</a></td> | 112 | <td class="name" nowrap><a href="examples/flag_debugging.lua.html">flag_debugging.lua</a></td> |
| 113 | <td class="summary"></td> | 113 | <td class="summary"></td> |
| 114 | </tr> | 114 | </tr> |
| 115 | <tr> | 115 | <tr> |
| 116 | <td class="name" nowrap><a href="examples/password_input.lua.html">password_input.lua</a></td> | 116 | <td class="name" nowrap><a href="examples/password_input.lua.html">password_input.lua</a></td> |
| 117 | <td class="summary"></td> | 117 | <td class="summary"></td> |
| 118 | </tr> | 118 | </tr> |
| 119 | <tr> | 119 | <tr> |
| 120 | <td class="name" nowrap><a href="examples/read.lua.html">read.lua</a></td> | 120 | <td class="name" nowrap><a href="examples/read.lua.html">read.lua</a></td> |
| 121 | <td class="summary"></td> | 121 | <td class="summary"></td> |
| 122 | </tr> | 122 | </tr> |
| 123 | <tr> | 123 | <tr> |
| 124 | <td class="name" nowrap><a href="examples/readline.lua.html">readline.lua</a></td> | 124 | <td class="name" nowrap><a href="examples/readline.lua.html">readline.lua</a></td> |
| 125 | <td class="summary"></td> | 125 | <td class="summary"></td> |
| 126 | </tr> | 126 | </tr> |
| 127 | <tr> | 127 | <tr> |
| 128 | <td class="name" nowrap><a href="examples/spinner.lua.html">spinner.lua</a></td> | 128 | <td class="name" nowrap><a href="examples/spinner.lua.html">spinner.lua</a></td> |
| 129 | <td class="summary"></td> | 129 | <td class="summary"></td> |
| 130 | </tr> | 130 | </tr> |
| 131 | <tr> | 131 | <tr> |
| 132 | <td class="name" nowrap><a href="examples/spiral_snake.lua.html">spiral_snake.lua</a></td> | 132 | <td class="name" nowrap><a href="examples/spiral_snake.lua.html">spiral_snake.lua</a></td> |
| 133 | <td class="summary"></td> | 133 | <td class="summary"></td> |
| 134 | </tr> | 134 | </tr> |
| 135 | <tr> | 135 | <tr> |
| 136 | <td class="name" nowrap><a href="examples/terminalsize.lua.html">terminalsize.lua</a></td> | 136 | <td class="name" nowrap><a href="examples/terminalsize.lua.html">terminalsize.lua</a></td> |
| 137 | <td class="summary"></td> | 137 | <td class="summary"></td> |
| 138 | </tr> | 138 | </tr> |
| 139 | </table> | 139 | </table> |
| @@ -141,8 +141,8 @@ | |||
| 141 | </div> <!-- id="content" --> | 141 | </div> <!-- id="content" --> |
| 142 | </div> <!-- id="main" --> | 142 | </div> <!-- id="main" --> |
| 143 | <div id="about"> | 143 | <div id="about"> |
| 144 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 144 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 145 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 145 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 146 | </div> <!-- id="about" --> | 146 | </div> <!-- id="about" --> |
| 147 | </div> <!-- id="container" --> | 147 | </div> <!-- id="container" --> |
| 148 | </body> | 148 | </body> |
diff --git a/docs/modules/system.html b/docs/modules/system.html index 0a2447e..1a99b32 100644 --- a/docs/modules/system.html +++ b/docs/modules/system.html | |||
| @@ -206,11 +206,11 @@ | |||
| 206 | <td class="summary">Sets the current console output code page (Windows).</td> | 206 | <td class="summary">Sets the current console output code page (Windows).</td> |
| 207 | </tr> | 207 | </tr> |
| 208 | <tr> | 208 | <tr> |
| 209 | <td class="name" nowrap><a href="#utf8cwidth">utf8cwidth (utf8_char)</a></td> | 209 | <td class="name" nowrap><a href="#utf8cwidth">utf8cwidth (utf8_char[, ambiguous_width=1])</a></td> |
| 210 | <td class="summary">Get the width of a utf8 character for terminal display.</td> | 210 | <td class="summary">Get the width of a utf8 character for terminal display.</td> |
| 211 | </tr> | 211 | </tr> |
| 212 | <tr> | 212 | <tr> |
| 213 | <td class="name" nowrap><a href="#utf8swidth">utf8swidth (utf8_string)</a></td> | 213 | <td class="name" nowrap><a href="#utf8swidth">utf8swidth (utf8_string[, ambiguous_width=1])</a></td> |
| 214 | <td class="summary">Get the width of a utf8 string for terminal display.</td> | 214 | <td class="summary">Get the width of a utf8 string for terminal display.</td> |
| 215 | </tr> | 215 | </tr> |
| 216 | </table> | 216 | </table> |
| @@ -1167,6 +1167,17 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1167 | <span class="types"><span class="type">int</span></span> | 1167 | <span class="types"><span class="type">int</span></span> |
| 1168 | the current code page (always 65001 on Posix systems) | 1168 | the current code page (always 65001 on Posix systems) |
| 1169 | </ol> | 1169 | </ol> |
| 1170 | <h3>Or</h3> | ||
| 1171 | <ol> | ||
| 1172 | <li> | ||
| 1173 | <span class="types"><span class="type">nil</span></span> | ||
| 1174 | |||
| 1175 | |||
| 1176 | </li> | ||
| 1177 | <li> | ||
| 1178 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> | ||
| 1179 | error message</li> | ||
| 1180 | </ol> | ||
| 1170 | 1181 | ||
| 1171 | 1182 | ||
| 1172 | 1183 | ||
| @@ -1187,6 +1198,17 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1187 | <span class="types"><span class="type">int</span></span> | 1198 | <span class="types"><span class="type">int</span></span> |
| 1188 | the current code page (always 65001 on Posix systems) | 1199 | the current code page (always 65001 on Posix systems) |
| 1189 | </ol> | 1200 | </ol> |
| 1201 | <h3>Or</h3> | ||
| 1202 | <ol> | ||
| 1203 | <li> | ||
| 1204 | <span class="types"><span class="type">nil</span></span> | ||
| 1205 | |||
| 1206 | |||
| 1207 | </li> | ||
| 1208 | <li> | ||
| 1209 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> | ||
| 1210 | error message</li> | ||
| 1211 | </ol> | ||
| 1190 | 1212 | ||
| 1191 | 1213 | ||
| 1192 | 1214 | ||
| @@ -1214,6 +1236,17 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1214 | <span class="types"><span class="type">bool</span></span> | 1236 | <span class="types"><span class="type">bool</span></span> |
| 1215 | <code>true</code> on success (always <code>true</code> on Posix systems) | 1237 | <code>true</code> on success (always <code>true</code> on Posix systems) |
| 1216 | </ol> | 1238 | </ol> |
| 1239 | <h3>Or</h3> | ||
| 1240 | <ol> | ||
| 1241 | <li> | ||
| 1242 | <span class="types"><span class="type">nil</span></span> | ||
| 1243 | |||
| 1244 | |||
| 1245 | </li> | ||
| 1246 | <li> | ||
| 1247 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> | ||
| 1248 | error message</li> | ||
| 1249 | </ol> | ||
| 1217 | 1250 | ||
| 1218 | 1251 | ||
| 1219 | 1252 | ||
| @@ -1241,6 +1274,17 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1241 | <span class="types"><span class="type">bool</span></span> | 1274 | <span class="types"><span class="type">bool</span></span> |
| 1242 | <code>true</code> on success (always <code>true</code> on Posix systems) | 1275 | <code>true</code> on success (always <code>true</code> on Posix systems) |
| 1243 | </ol> | 1276 | </ol> |
| 1277 | <h3>Or</h3> | ||
| 1278 | <ol> | ||
| 1279 | <li> | ||
| 1280 | <span class="types"><span class="type">nil</span></span> | ||
| 1281 | |||
| 1282 | |||
| 1283 | </li> | ||
| 1284 | <li> | ||
| 1285 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> | ||
| 1286 | error message</li> | ||
| 1287 | </ol> | ||
| 1244 | 1288 | ||
| 1245 | 1289 | ||
| 1246 | 1290 | ||
| @@ -1248,7 +1292,7 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1248 | </dd> | 1292 | </dd> |
| 1249 | <dt> | 1293 | <dt> |
| 1250 | <a name = "utf8cwidth"></a> | 1294 | <a name = "utf8cwidth"></a> |
| 1251 | <strong>utf8cwidth (utf8_char)</strong> | 1295 | <strong>utf8cwidth (utf8_char[, ambiguous_width=1])</strong> |
| 1252 | </dt> | 1296 | </dt> |
| 1253 | <dd> | 1297 | <dd> |
| 1254 | Get the width of a utf8 character for terminal display. | 1298 | Get the width of a utf8 character for terminal display. |
| @@ -1260,6 +1304,11 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1260 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a> or <span class="type">int</span></span> | 1304 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a> or <span class="type">int</span></span> |
| 1261 | the utf8 character, or unicode codepoint, to check, only the width of the first character will be returned | 1305 | the utf8 character, or unicode codepoint, to check, only the width of the first character will be returned |
| 1262 | </li> | 1306 | </li> |
| 1307 | <li><span class="parameter">ambiguous_width</span> | ||
| 1308 | <span class="types"><span class="type">int</span></span> | ||
| 1309 | the width to return for ambiguous width characters (usually 1 or 2) | ||
| 1310 | (<em>default</em> 1) | ||
| 1311 | </li> | ||
| 1263 | </ul> | 1312 | </ul> |
| 1264 | 1313 | ||
| 1265 | <h3>Returns:</h3> | 1314 | <h3>Returns:</h3> |
| @@ -1286,7 +1335,7 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1286 | </dd> | 1335 | </dd> |
| 1287 | <dt> | 1336 | <dt> |
| 1288 | <a name = "utf8swidth"></a> | 1337 | <a name = "utf8swidth"></a> |
| 1289 | <strong>utf8swidth (utf8_string)</strong> | 1338 | <strong>utf8swidth (utf8_string[, ambiguous_width=1])</strong> |
| 1290 | </dt> | 1339 | </dt> |
| 1291 | <dd> | 1340 | <dd> |
| 1292 | Get the width of a utf8 string for terminal display. | 1341 | Get the width of a utf8 string for terminal display. |
| @@ -1298,6 +1347,11 @@ sequences will be buffered internally and returned one byte at a time. | |||
| 1298 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> | 1347 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> |
| 1299 | the utf8 string to check | 1348 | the utf8 string to check |
| 1300 | </li> | 1349 | </li> |
| 1350 | <li><span class="parameter">ambiguous_width</span> | ||
| 1351 | <span class="types"><span class="type">int</span></span> | ||
| 1352 | the width to return for ambiguous width characters (1 or 2) | ||
| 1353 | (<em>default</em> 1) | ||
| 1354 | </li> | ||
| 1301 | </ul> | 1355 | </ul> |
| 1302 | 1356 | ||
| 1303 | <h3>Returns:</h3> | 1357 | <h3>Returns:</h3> |
| @@ -1517,8 +1571,8 @@ This function will sleep, without doing a busy-loop and wasting CPU cycles. | |||
| 1517 | </div> <!-- id="content" --> | 1571 | </div> <!-- id="content" --> |
| 1518 | </div> <!-- id="main" --> | 1572 | </div> <!-- id="main" --> |
| 1519 | <div id="about"> | 1573 | <div id="about"> |
| 1520 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 1574 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 1521 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 1575 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 1522 | </div> <!-- id="about" --> | 1576 | </div> <!-- id="about" --> |
| 1523 | </div> <!-- id="container" --> | 1577 | </div> <!-- id="container" --> |
| 1524 | </body> | 1578 | </body> |
diff --git a/docs/topics/01-introduction.md.html b/docs/topics/01-introduction.md.html index 264aa71..5a67ade 100644 --- a/docs/topics/01-introduction.md.html +++ b/docs/topics/01-introduction.md.html | |||
| @@ -83,8 +83,8 @@ independence.</p> | |||
| 83 | </div> <!-- id="content" --> | 83 | </div> <!-- id="content" --> |
| 84 | </div> <!-- id="main" --> | 84 | </div> <!-- id="main" --> |
| 85 | <div id="about"> | 85 | <div id="about"> |
| 86 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 86 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 87 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 87 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 88 | </div> <!-- id="about" --> | 88 | </div> <!-- id="about" --> |
| 89 | </div> <!-- id="container" --> | 89 | </div> <!-- id="container" --> |
| 90 | </body> | 90 | </body> |
diff --git a/docs/topics/02-development.md.html b/docs/topics/02-development.md.html index 15efe55..c593cdf 100644 --- a/docs/topics/02-development.md.html +++ b/docs/topics/02-development.md.html | |||
| @@ -83,8 +83,8 @@ pass locally, and do not rely on CI only.</p> | |||
| 83 | </div> <!-- id="content" --> | 83 | </div> <!-- id="content" --> |
| 84 | </div> <!-- id="main" --> | 84 | </div> <!-- id="main" --> |
| 85 | <div id="about"> | 85 | <div id="about"> |
| 86 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 86 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 87 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 87 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 88 | </div> <!-- id="about" --> | 88 | </div> <!-- id="about" --> |
| 89 | </div> <!-- id="container" --> | 89 | </div> <!-- id="container" --> |
| 90 | </body> | 90 | </body> |
diff --git a/docs/topics/03-terminal.md.html b/docs/topics/03-terminal.md.html index 27772ac..8241ccc 100644 --- a/docs/topics/03-terminal.md.html +++ b/docs/topics/03-terminal.md.html | |||
| @@ -219,8 +219,8 @@ For an example see <a href="../examples/password_input.lua.html"><code>examples/ | |||
| 219 | </div> <!-- id="content" --> | 219 | </div> <!-- id="content" --> |
| 220 | </div> <!-- id="main" --> | 220 | </div> <!-- id="main" --> |
| 221 | <div id="about"> | 221 | <div id="about"> |
| 222 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 222 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 223 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 223 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 224 | </div> <!-- id="about" --> | 224 | </div> <!-- id="about" --> |
| 225 | </div> <!-- id="container" --> | 225 | </div> <!-- id="container" --> |
| 226 | </body> | 226 | </body> |
diff --git a/docs/topics/CHANGELOG.md.html b/docs/topics/CHANGELOG.md.html index 9603abd..99d6939 100644 --- a/docs/topics/CHANGELOG.md.html +++ b/docs/topics/CHANGELOG.md.html | |||
| @@ -106,6 +106,31 @@ | |||
| 106 | <p><a name="Version_history"></a></p> | 106 | <p><a name="Version_history"></a></p> |
| 107 | <h2>Version history</h2> | 107 | <h2>Version history</h2> |
| 108 | 108 | ||
| 109 | <h3>version 0.7.1, released 26-Apr-2026</h3> | ||
| 110 | |||
| 111 | <ul> | ||
| 112 | <li>Fix: improve error messages and handling on Windows. | ||
| 113 | See <a href="https://github.com/lunarmodules/luasystem/pull/85">#85</a>.</li> | ||
| 114 | </ul> | ||
| 115 | |||
| 116 | <h3>version 0.7.0, released 17-Feb-2026</h3> | ||
| 117 | |||
| 118 | <ul> | ||
| 119 | <li>Fix: remove two unused-variable warnings. | ||
| 120 | See <a href="https://github.com/lunarmodules/luasystem/pull/78">#78</a>.</li> | ||
| 121 | <li>Fix: duplicate symbol when linking with luajit on windows | ||
| 122 | See <a href="https://github.com/lunarmodules/luasystem/pull/81">#81</a>.</li> | ||
| 123 | <li>Feat: fix the display-width functions that occasionally reported a bad width. The source code now | ||
| 124 | includes a code-generator that parses the official Unicode files to create static ranges in the | ||
| 125 | source code. Beyond that the ambiguous width can now be specified by the user, as a second parameter | ||
| 126 | to <code>utf8cwidth</code> and <code>utf8swidth</code>. | ||
| 127 | See <a href="https://github.com/lunarmodules/luasystem/pull/82">#82</a>.</li> | ||
| 128 | <li>Chore: added Lua 5.5 to CI matrix. | ||
| 129 | See <a href="https://github.com/lunarmodules/luasystem/pull/79">#79</a>.</li> | ||
| 130 | <li>Chore: relax test assertion wrt time. | ||
| 131 | See <a href="https://github.com/lunarmodules/luasystem/pull/80">#80</a>.</li> | ||
| 132 | </ul> | ||
| 133 | |||
| 109 | <h3>version 0.6.3, released 11-Jul-2025</h3> | 134 | <h3>version 0.6.3, released 11-Jul-2025</h3> |
| 110 | 135 | ||
| 111 | <ul> | 136 | <ul> |
| @@ -233,8 +258,8 @@ | |||
| 233 | </div> <!-- id="content" --> | 258 | </div> <!-- id="content" --> |
| 234 | </div> <!-- id="main" --> | 259 | </div> <!-- id="main" --> |
| 235 | <div id="about"> | 260 | <div id="about"> |
| 236 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 261 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 237 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 262 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 238 | </div> <!-- id="about" --> | 263 | </div> <!-- id="about" --> |
| 239 | </div> <!-- id="container" --> | 264 | </div> <!-- id="container" --> |
| 240 | </body> | 265 | </body> |
diff --git a/docs/topics/LICENSE.md.html b/docs/topics/LICENSE.md.html index c0b9b93..b1ae724 100644 --- a/docs/topics/LICENSE.md.html +++ b/docs/topics/LICENSE.md.html | |||
| @@ -69,7 +69,7 @@ | |||
| 69 | <h1>MIT License</h1> | 69 | <h1>MIT License</h1> |
| 70 | 70 | ||
| 71 | <h3>Copyright (c) 2016-2024, Oscar Lim</h3> | 71 | <h3>Copyright (c) 2016-2024, Oscar Lim</h3> |
| 72 | <h3>Copyright (c) 2024-2025, the luasystem project authors.</h3> | 72 | <h3>Copyright (c) 2024-2026, the luasystem project authors.</h3> |
| 73 | 73 | ||
| 74 | <p>Permission is hereby granted, free of charge, to any person obtaining a copy of | 74 | <p>Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 75 | this software and associated documentation files (the "Software"), to deal in | 75 | this software and associated documentation files (the "Software"), to deal in |
| @@ -93,8 +93,8 @@ SOFTWARE.</p> | |||
| 93 | </div> <!-- id="content" --> | 93 | </div> <!-- id="content" --> |
| 94 | </div> <!-- id="main" --> | 94 | </div> <!-- id="main" --> |
| 95 | <div id="about"> | 95 | <div id="about"> |
| 96 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 96 | <i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i> |
| 97 | <i style="float:right;">Last updated 2025-07-11 22:55:05 </i> | 97 | <i style="float:right;">Last updated 2026-04-26 10:36:21 </i> |
| 98 | </div> <!-- id="about" --> | 98 | </div> <!-- id="about" --> |
| 99 | </div> <!-- id="container" --> | 99 | </div> <!-- id="container" --> |
| 100 | </body> | 100 | </body> |
