diff options
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/01-introduction.md.html | 2 | ||||
| -rw-r--r-- | docs/topics/02-development.md.html | 2 | ||||
| -rw-r--r-- | docs/topics/03-terminal.md.html | 4 | ||||
| -rw-r--r-- | docs/topics/CHANGELOG.md.html | 15 | ||||
| -rw-r--r-- | docs/topics/LICENSE.md.html | 2 |
5 files changed, 18 insertions, 7 deletions
diff --git a/docs/topics/01-introduction.md.html b/docs/topics/01-introduction.md.html index f0f627d..f16d354 100644 --- a/docs/topics/01-introduction.md.html +++ b/docs/topics/01-introduction.md.html | |||
| @@ -84,7 +84,7 @@ independence.</p> | |||
| 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-03-12 15:17:50 </i> | 87 | <i style="float:right;">Last updated 2025-04-10 10:12:11 </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 315fa37..b83969b 100644 --- a/docs/topics/02-development.md.html +++ b/docs/topics/02-development.md.html | |||
| @@ -84,7 +84,7 @@ pass locally, and do not rely on CI only.</p> | |||
| 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-03-12 15:17:50 </i> | 87 | <i style="float:right;">Last updated 2025-04-10 10:12:11 </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 7ce28af..ebaa8bb 100644 --- a/docs/topics/03-terminal.md.html +++ b/docs/topics/03-terminal.md.html | |||
| @@ -93,6 +93,7 @@ up both platforms to make it work.</p> | |||
| 93 | <li><a href="../modules/system.html#setconsoleflags">system.setconsoleflags</a> (Windows)</li> | 93 | <li><a href="../modules/system.html#setconsoleflags">system.setconsoleflags</a> (Windows)</li> |
| 94 | <li><a href="../modules/system.html#setconsolecp">system.setconsolecp</a> (Windows)</li> | 94 | <li><a href="../modules/system.html#setconsolecp">system.setconsolecp</a> (Windows)</li> |
| 95 | <li><a href="../modules/system.html#setconsoleoutputcp">system.setconsoleoutputcp</a> (Windows)</li> | 95 | <li><a href="../modules/system.html#setconsoleoutputcp">system.setconsoleoutputcp</a> (Windows)</li> |
| 96 | <li><a href="../modules/system.html#detachfds">system.detachfds</a> (Posix)</li> | ||
| 96 | <li><a href="../modules/system.html#setnonblock">system.setnonblock</a> (Posix)</li> | 97 | <li><a href="../modules/system.html#setnonblock">system.setnonblock</a> (Posix)</li> |
| 97 | <li><a href="../modules/system.html#tcsetattr">system.tcsetattr</a> (Posix)</li> | 98 | <li><a href="../modules/system.html#tcsetattr">system.tcsetattr</a> (Posix)</li> |
| 98 | </ul> | 99 | </ul> |
| @@ -195,6 +196,7 @@ also not being echoed to the terminal (independent of the echo settings used wit | |||
| 195 | </span>sys.<span class="function-name">setconsoleflags</span>(<span class="global">io</span>.stdin, sys.<span class="function-name">getconsoleflags</span>(<span class="global">io</span>.stdin) - sys.CIF_ECHO_INPUT - sys.CIF_LINE_INPUT) | 196 | </span>sys.<span class="function-name">setconsoleflags</span>(<span class="global">io</span>.stdin, sys.<span class="function-name">getconsoleflags</span>(<span class="global">io</span>.stdin) - sys.CIF_ECHO_INPUT - sys.CIF_LINE_INPUT) |
| 196 | 197 | ||
| 197 | <span class="comment">-- setup Posix by disabling echo, canonical mode, and making non-blocking | 198 | <span class="comment">-- setup Posix by disabling echo, canonical mode, and making non-blocking |
| 199 | </span>sys.<span class="function-name">detachfds</span>() <span class="comment">-- ensure stdin/out/err have their own file descriptions | ||
| 198 | </span><span class="keyword">local</span> of_attr = sys.<span class="function-name">tcgetattr</span>(<span class="global">io</span>.stdin) | 200 | </span><span class="keyword">local</span> of_attr = sys.<span class="function-name">tcgetattr</span>(<span class="global">io</span>.stdin) |
| 199 | sys.<span class="function-name">tcsetattr</span>(<span class="global">io</span>.stdin, sys.TCSANOW, { | 201 | sys.<span class="function-name">tcsetattr</span>(<span class="global">io</span>.stdin, sys.TCSANOW, { |
| 200 | lflag = of_attr.lflag - sys.L_ICANON - sys.L_ECHO, | 202 | lflag = of_attr.lflag - sys.L_ICANON - sys.L_ECHO, |
| @@ -218,7 +220,7 @@ For an example see <a href="../examples/password_input.lua.html"><code>examples/ | |||
| 218 | </div> <!-- id="main" --> | 220 | </div> <!-- id="main" --> |
| 219 | <div id="about"> | 221 | <div id="about"> |
| 220 | <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> |
| 221 | <i style="float:right;">Last updated 2025-03-12 15:17:50 </i> | 223 | <i style="float:right;">Last updated 2025-04-10 10:12:11 </i> |
| 222 | </div> <!-- id="about" --> | 224 | </div> <!-- id="about" --> |
| 223 | </div> <!-- id="container" --> | 225 | </div> <!-- id="container" --> |
| 224 | </body> | 226 | </body> |
diff --git a/docs/topics/CHANGELOG.md.html b/docs/topics/CHANGELOG.md.html index fa2d706..796ae20 100644 --- a/docs/topics/CHANGELOG.md.html +++ b/docs/topics/CHANGELOG.md.html | |||
| @@ -106,6 +106,15 @@ | |||
| 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.6.0, released 10-Apr-2025</h3> | ||
| 110 | |||
| 111 | <ul> | ||
| 112 | <li>Fix: when sleep returns an error, pass that on in <code>readkey</code>.</li> | ||
| 113 | <li>Feat: added <code>detachfds</code> which will create separate file descriptions for <code>stdout</code> | ||
| 114 | and <code>stderr</code> to ensure that related settings (eg. non-blocking flag) will not be shared | ||
| 115 | amongst those streams and <code>stdin</code>.</li> | ||
| 116 | </ul> | ||
| 117 | |||
| 109 | <h3>version 0.5.1, released 12-Mar-2025</h3> | 118 | <h3>version 0.5.1, released 12-Mar-2025</h3> |
| 110 | 119 | ||
| 111 | <ul> | 120 | <ul> |
| @@ -120,14 +129,14 @@ | |||
| 120 | <li>Feat: allow passing in a sleep function to <code>readkey</code> and <code>readansi</code></li> | 129 | <li>Feat: allow passing in a sleep function to <code>readkey</code> and <code>readansi</code></li> |
| 121 | <li>Fix: NetBSD fix compilation, undeclared directives</li> | 130 | <li>Fix: NetBSD fix compilation, undeclared directives</li> |
| 122 | <li>Refactor: random bytes; remove deprecated API usage on Windows, move to | 131 | <li>Refactor: random bytes; remove deprecated API usage on Windows, move to |
| 123 | binary api instead of /dev/urandom file on linux and bsd</li> | 132 | binary api instead of <code>/dev/urandom</code> file on linux and bsd</li> |
| 124 | </ul> | 133 | </ul> |
| 125 | 134 | ||
| 126 | <h3>version 0.4.5, released 18-Dec-2024</h3> | 135 | <h3>version 0.4.5, released 18-Dec-2024</h3> |
| 127 | 136 | ||
| 128 | <ul> | 137 | <ul> |
| 129 | <li>Fix: suppress a warning when building with clang</li> | 138 | <li>Fix: suppress a warning when building with clang</li> |
| 130 | <li>Fix: do not rely on luaconf.h to include limits.h, fixes builds with latest LuaJIT (#38).</li> | 139 | <li>Fix: do not rely on <code>luaconf.h</code> to include <code>limits.h</code>, fixes builds with latest LuaJIT (#38).</li> |
| 131 | </ul> | 140 | </ul> |
| 132 | 141 | ||
| 133 | <h3>version 0.4.4, released 03-Sep-2024</h3> | 142 | <h3>version 0.4.4, released 03-Sep-2024</h3> |
| @@ -199,7 +208,7 @@ | |||
| 199 | </div> <!-- id="main" --> | 208 | </div> <!-- id="main" --> |
| 200 | <div id="about"> | 209 | <div id="about"> |
| 201 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | 210 | <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> |
| 202 | <i style="float:right;">Last updated 2025-03-12 15:17:50 </i> | 211 | <i style="float:right;">Last updated 2025-04-10 10:12:11 </i> |
| 203 | </div> <!-- id="about" --> | 212 | </div> <!-- id="about" --> |
| 204 | </div> <!-- id="container" --> | 213 | </div> <!-- id="container" --> |
| 205 | </body> | 214 | </body> |
diff --git a/docs/topics/LICENSE.md.html b/docs/topics/LICENSE.md.html index 612cdb9..b7f5ac1 100644 --- a/docs/topics/LICENSE.md.html +++ b/docs/topics/LICENSE.md.html | |||
| @@ -94,7 +94,7 @@ SOFTWARE.</p> | |||
| 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-03-12 15:17:50 </i> | 97 | <i style="float:right;">Last updated 2025-04-10 10:12:11 </i> |
| 98 | </div> <!-- id="about" --> | 98 | </div> <!-- id="about" --> |
| 99 | </div> <!-- id="container" --> | 99 | </div> <!-- id="container" --> |
| 100 | </body> | 100 | </body> |
