gh-pages
TorchedSammy 2023-11-12 00:38:05 +00:00
parent 0f066ff861
commit b68b507ddc
7 changed files with 13 additions and 8 deletions

View File

@ -7,5 +7,7 @@ directly interact with the line editor in use.</p><h3 id=functions class=heading
<a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><h4 id=getline---string class=heading>getLine() -> string
<a href=#getline---string class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns the current input line.</p><h4 id=getvimregisterregister---string class=heading>getVimRegister(register) -> string
<a href=#getvimregisterregister---string class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns the text that is at the register.</p><h4 id=inserttext class=heading>insert(text)
<a href=#inserttext class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Inserts text into the line.</p><h4 id=setvimregisterregister-text class=heading>setVimRegister(register, text)
<a href=#inserttext class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Inserts text into the line.</p><h4 id=getchar---string class=heading>getChar() -> string
<a href=#getchar---string class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Reads a keystroke from the user. This is in a format
of something like Ctrl-L..</p><h4 id=setvimregisterregister-text class=heading>setVimRegister(register, text)
<a href=#setvimregisterregister-text class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Sets the vim register at <code>register</code> to hold the passed text.</p></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>

View File

@ -63,6 +63,7 @@ a desination.</p><h4 id=methods class=heading>Methods
<a href=#autoflushauto class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Sets/toggles the option of automatically flushing output.
A call with no argument will toggle the value.</p><h5 id=flush class=heading>flush()
<a href=#flush class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Flush writes all buffered input to the sink.</p><h5 id=read---string class=heading>read() -> string
<a href=#read---string class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Reads input from the sink.</p><h5 id=writestr class=heading>write(str)
<a href=#read---string class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Reads a liine of input from the sink.</p><h5 id=readall---string class=heading>readAll() -> string
<a href=#readall---string class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Reads all input from the sink.</p><h5 id=writestr class=heading>write(str)
<a href=#writestr class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Writes data to a sink.</p><h5 id=writelnstr class=heading>writeln(str)
<a href=#writelnstr class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Writes data to a sink with a newline at the end.</p></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>

View File

@ -8,6 +8,7 @@ handler(line, pos) The handler function is the callback for tab completion in Hi
Functions getLine() -&amp;gt; string Returns the current input line.
getVimRegister(register) -&amp;gt; string Returns the text that is at the register.
insert(text) Inserts text into the line.
getChar() -&amp;gt; string Reads a keystroke from the user. This is in a format of something like Ctrl-L..
setVimRegister(register, text) Sets the vim register at register to hold the passed text.</description></item><item><title>Interface hilbish.history</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/</guid><description>Introduction The history interface deals with command history. This includes the ability to override functions to change the main method of saving history.
Functions add(cmd) Adds a command to the history.
all() -&amp;gt; table Retrieves all history.

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Features on Hilbish</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/</link><description>Recent content in Features on Hilbish</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/index.xml" rel="self" type="application/rss+xml"/><item><title>Notification</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/</guid><description>Hilbish features a simple notification system which can be used by other plugins and parts of the shell to notify the user of various actions. This is used via the hilbish.message interface.
A message is defined as a table with the following properties:
icon: A unicode/emoji icon for the notification. title: The title of the message text: Message text/body channel: The source of the message. This should be a unique and easily readable text identifier.</description></item><item><title>Runner Mode</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/</guid><description>Hilbish allows you to change how interactive text can be interpreted. This is mainly due to the fact that the default method Hilbish uses is that it runs Lua first and then falls back to shell script.
In some cases, someone might want to switch to just shell script to avoid it while interactive but still have a Lua config, or go full Lua to use Hilbish as a REPL. This also allows users to add alternative languages, instead of either like Fennel.</description></item></channel></rss>
In some cases, someone might want to switch to just shell script to avoid it while interactive but still have a Lua config, or go full Lua to use Hilbish as a REPL. This also allows users to add alternative languages like Fennel as the interactive script runner.</description></item></channel></rss>

View File

@ -1,11 +1,11 @@
<!doctype html><html><head><title>Runner Mode — Hilbish</title>
<meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name=theme-color content="#ff89dd"><meta content="/Hilbish/hilbish-flower.png" property="og:image"><meta property="og:site_name" content="Hilbish"><meta content="Runner Mode — Hilbish" property="og:title"><meta content="Customize the interactive script/command runner." property="og:description"><meta content="Customize the interactive script/command runner." name=description><meta name=revisit-after content="2 days"><meta name=keywords content="Lua,Hilbish,Linux,Shell"><meta property="og:locale" content="en_GB"><link rel=canonical href=https://rosettea.github.io/Hilbish/><meta property="og:url" content="https://rosettea.github.io/Hilbish/"><link href=https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css rel=stylesheet integrity=sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js integrity=sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2 crossorigin=anonymous></script><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin=anonymous referrerpolicy=no-referrer><style>.heading>.heading-link{opacity:0}.heading:hover>.heading-link{visibility:visible;opacity:1;transition:all .1s ease-in}</style></head><body class="d-flex flex-column min-vh-100" style=overflow-x:hidden><svg xmlns="http://www.w3.org/2000/svg" style="display:none"><symbol id="check-circle-fill" fill="currentcolor" viewBox="0 0 16 16"><path d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-3.97-3.03a.75.75.0 00-1.08.022L7.477 9.417 5.384 7.323a.75.75.0 00-1.06 1.06L6.97 11.03a.75.75.0 001.079-.02l3.992-4.99a.75.75.0 00-.01-1.05z"/></symbol><symbol id="info-fill" fill="currentcolor" viewBox="0 0 16 16"><path d="M8 16A8 8 0 108 0a8 8 0 000 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194.0.487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703.0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 110-2 1 1 0 010 2z"/></symbol><symbol id="exclamation-triangle-fill" fill="currentcolor" viewBox="0 0 16 16"><path d="M8.982 1.566a1.13 1.13.0 00-1.96.0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889.0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535.0.954.462.9.995l-.35 3.507a.552.552.0 01-1.1.0L7.1 5.995A.905.905.0 018 5zm.002 6a1 1 0 110 2 1 1 0 010-2z"/></symbol></svg><header><nav class="navbar navbar-expand-md sticky-top bg-light border-bottom"><div class=container-fluid><a class=navbar-brand href=/Hilbish><img src=/Hilbish/hilbish-logo-and-text.png alt height=48>
</a><button class=navbar-toggler type=button data-bs-toggle=collapse data-bs-target=#navbarSupportedContent aria-controls=navbarSupportedContent aria-expanded=false aria-label="Toggle navigation">
<span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse" id=navbarSupportedContent><ul class="navbar-nav me-auto mb-2 mb-lg-0"><li class=nav-item><a href=/Hilbish/versions/native-modules/ class=nav-link>Home</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/install/ class=nav-link>Install</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/ class=nav-link>Docs</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/blog/ class=nav-link>Blog</a></li></ul></div></div></nav></header><style>@media(min-width:768px){.sidenav{width:240px}}</style><div class=row><nav class="navbar-expand-md bg-light sidenav border-end"><div class=container><div class="collapse navbar-collapse" id=navbarSupportedContent><nav class="navbar navbar-expand-md bg-light sidenav col" style=margin-top:-20px><ul class="navbar-nav me-auto mb-2 mb-lg-0 flex-column col mt-4"><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/ class=nav-link><strong>Introduction</strong></a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/getting-started/ class=nav-link><strong>Getting Started</strong></a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/faq/ class=nav-link><strong>Frequently Asked Questions</strong></a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/features/ class=nav-link><strong>Features</strong></a></li><ul style=list-style:none><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/features/notifications/ class=nav-link>Notification</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/features/runner-mode/ class=nav-link>Runner Mode</a></li></ul><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/ class=nav-link><strong>API</strong></a></li><ul style=list-style:none><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.aliases/ class=nav-link>Interface hilbish.aliases</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.completions/ class=nav-link>Interface hilbish.completions</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.editor/ class=nav-link>Interface hilbish.editor</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/ class=nav-link>Interface hilbish.history</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.jobs/ class=nav-link>Interface hilbish.jobs</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.module/ class=nav-link>Interface hilbish.module</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.os/ class=nav-link>Interface hilbish.os</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.runner/ class=nav-link>Interface hilbish.runner</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.timers/ class=nav-link>Interface hilbish.timers</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.userdir/ class=nav-link>Interface hilbish.userDir</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/bait/ class=nav-link>Module bait</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/commander/ class=nav-link>Module commander</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/fs/ class=nav-link>Module fs</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/ class=nav-link>Module hilbish</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/terminal/ class=nav-link>Module terminal</a></li></ul></ul></nav></div></div></nav><container class="col mt-2" style="padding-left: 20px; padding-right: 20px;"><div><h1>Runner Mode</h1><p><em>Last updated Apr 14, 2023<br>Customize the interactive script/command runner.<br></em></p><p>Hilbish allows you to change how interactive text can be interpreted.
<span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse" id=navbarSupportedContent><ul class="navbar-nav me-auto mb-2 mb-lg-0"><li class=nav-item><a href=/Hilbish/versions/native-modules/ class=nav-link>Home</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/install/ class=nav-link>Install</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/ class=nav-link>Docs</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/blog/ class=nav-link>Blog</a></li></ul></div></div></nav></header><style>@media(min-width:768px){.sidenav{width:240px}}</style><div class=row><nav class="navbar-expand-md bg-light sidenav border-end"><div class=container><div class="collapse navbar-collapse" id=navbarSupportedContent><nav class="navbar navbar-expand-md bg-light sidenav col" style=margin-top:-20px><ul class="navbar-nav me-auto mb-2 mb-lg-0 flex-column col mt-4"><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/ class=nav-link><strong>Introduction</strong></a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/getting-started/ class=nav-link><strong>Getting Started</strong></a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/faq/ class=nav-link><strong>Frequently Asked Questions</strong></a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/features/ class=nav-link><strong>Features</strong></a></li><ul style=list-style:none><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/features/notifications/ class=nav-link>Notification</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/features/runner-mode/ class=nav-link>Runner Mode</a></li></ul><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/ class=nav-link><strong>API</strong></a></li><ul style=list-style:none><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.aliases/ class=nav-link>Interface hilbish.aliases</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.completions/ class=nav-link>Interface hilbish.completions</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.editor/ class=nav-link>Interface hilbish.editor</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/ class=nav-link>Interface hilbish.history</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.jobs/ class=nav-link>Interface hilbish.jobs</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.module/ class=nav-link>Interface hilbish.module</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.os/ class=nav-link>Interface hilbish.os</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.runner/ class=nav-link>Interface hilbish.runner</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.timers/ class=nav-link>Interface hilbish.timers</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.userdir/ class=nav-link>Interface hilbish.userDir</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/bait/ class=nav-link>Module bait</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/commander/ class=nav-link>Module commander</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/fs/ class=nav-link>Module fs</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/hilbish/ class=nav-link>Module hilbish</a></li><li class=nav-item><a href=/Hilbish/versions/native-modules/docs/api/terminal/ class=nav-link>Module terminal</a></li></ul></ul></nav></div></div></nav><container class="col mt-2" style="padding-left: 20px; padding-right: 20px;"><div><h1>Runner Mode</h1><p><em>Last updated Sep 28, 2023<br>Customize the interactive script/command runner.<br></em></p><p>Hilbish allows you to change how interactive text can be interpreted.
This is mainly due to the fact that the default method Hilbish uses
is that it runs Lua first and then falls back to shell script.</p><p>In some cases, someone might want to switch to just shell script to avoid
it while interactive but still have a Lua config, or go full Lua to use
Hilbish as a REPL. This also allows users to add alternative languages,
instead of either like Fennel.</p><p>Runner mode can also be used to handle specific kinds of input before
Hilbish as a REPL. This also allows users to add alternative languages like
Fennel as the interactive script runner.</p><p>Runner mode can also be used to handle specific kinds of input before
evaluating like normal, which is how <a href=https://github.com/TorchedSammy/Link.hsh target=_blank rel=noopener>Link.hsh</a>
handles links.</p></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>

View File

@ -24,6 +24,7 @@ handler(line, pos) The handler function is the callback for tab completion in Hi
Functions getLine() -&amp;gt; string Returns the current input line.
getVimRegister(register) -&amp;gt; string Returns the text that is at the register.
insert(text) Inserts text into the line.
getChar() -&amp;gt; string Reads a keystroke from the user. This is in a format of something like Ctrl-L..
setVimRegister(register, text) Sets the vim register at register to hold the passed text.</description></item><item><title>Interface hilbish.history</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/</guid><description>Introduction The history interface deals with command history. This includes the ability to override functions to change the main method of saving history.
Functions add(cmd) Adds a command to the history.
all() -&amp;gt; table Retrieves all history.
@ -51,4 +52,4 @@ setRaw() Puts the terminal in raw mode
size() Gets the dimensions of the terminal. Returns a table with width and height Note: this is not the size in relation to the dimensions of the display</description></item><item><title>Notification</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/</guid><description>Hilbish features a simple notification system which can be used by other plugins and parts of the shell to notify the user of various actions. This is used via the hilbish.message interface.
A message is defined as a table with the following properties:
icon: A unicode/emoji icon for the notification. title: The title of the message text: Message text/body channel: The source of the message. This should be a unique and easily readable text identifier.</description></item><item><title>Runner Mode</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/</guid><description>Hilbish allows you to change how interactive text can be interpreted. This is mainly due to the fact that the default method Hilbish uses is that it runs Lua first and then falls back to shell script.
In some cases, someone might want to switch to just shell script to avoid it while interactive but still have a Lua config, or go full Lua to use Hilbish as a REPL. This also allows users to add alternative languages, instead of either like Fennel.</description></item><item><title>Welcome to the Hilbish blog</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/</guid><description>Hello! Welcome to the Hilbish blog. This will mainly contain release announcements and some other things relating to Hilbish (development).</description></item></channel></rss>
In some cases, someone might want to switch to just shell script to avoid it while interactive but still have a Lua config, or go full Lua to use Hilbish as a REPL. This also allows users to add alternative languages like Fennel as the interactive script runner.</description></item><item><title>Welcome to the Hilbish blog</title><link>https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/</guid><description>Hello! Welcome to the Hilbish blog. This will mainly contain release announcements and some other things relating to Hilbish (development).</description></item></channel></rss>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/</loc><lastmod>2023-04-14T00:24:19-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/faq/</loc><lastmod>2022-12-20T00:41:48-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/getting-started/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/</loc><lastmod>2022-12-20T19:42:44-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/improving-this-website/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.2-release/</loc><lastmod>2023-04-10T12:38:30-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.1-release/</loc><lastmod>2023-04-01T18:16:13-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1-release/</loc><lastmod>2023-02-10T17:11:44-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.0-release/</loc><lastmod>2022-12-28T22:27:05-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/categories/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/install/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.aliases/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.completions/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.editor/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.jobs/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.module/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.os/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.runner/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.timers/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.userdir/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/bait/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/commander/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/fs/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/terminal/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/</loc><lastmod>2023-07-10T19:03:30-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/</loc><lastmod>2023-04-14T00:40:41-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/tags/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/</loc><lastmod>2022-12-28T22:27:05-04:00</lastmod></url></urlset>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/</loc><lastmod>2023-04-14T00:24:19-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/faq/</loc><lastmod>2022-12-20T00:41:48-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/getting-started/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/</loc><lastmod>2022-12-20T19:42:44-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/improving-this-website/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.2-release/</loc><lastmod>2023-04-10T12:38:30-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.1-release/</loc><lastmod>2023-04-01T18:16:13-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1-release/</loc><lastmod>2023-02-10T17:11:44-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.0-release/</loc><lastmod>2022-12-28T22:27:05-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/categories/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/install/</loc><lastmod>2023-04-14T00:04:52-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.aliases/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.completions/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.editor/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.jobs/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.module/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.os/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.runner/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.timers/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.userdir/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/bait/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/commander/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/fs/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/terminal/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/</loc><lastmod>2023-07-10T19:03:30-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/</loc><lastmod>2023-09-27T20:31:27-04:00</lastmod></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/tags/</loc></url><url><loc>https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/</loc><lastmod>2022-12-28T22:27:05-04:00</lastmod></url></urlset>