From b68b507ddcb4a5bb95b81de583321290ce2e28b4 Mon Sep 17 00:00:00 2001 From: TorchedSammy Date: Sun, 12 Nov 2023 00:38:05 +0000 Subject: [PATCH] deploy: 65761f8094c4cd5ca5974283b0912cd83eae2e88 --- .../docs/api/hilbish/hilbish.editor/index.html | 4 +++- versions/native-modules/docs/api/hilbish/index.html | 3 ++- versions/native-modules/docs/api/hilbish/index.xml | 1 + versions/native-modules/docs/features/index.xml | 2 +- .../native-modules/docs/features/runner-mode/index.html | 6 +++--- versions/native-modules/index.xml | 3 ++- versions/native-modules/sitemap.xml | 2 +- 7 files changed, 13 insertions(+), 8 deletions(-) diff --git a/versions/native-modules/docs/api/hilbish/hilbish.editor/index.html b/versions/native-modules/docs/api/hilbish/hilbish.editor/index.html index f6c8c88..17ebea4 100644 --- a/versions/native-modules/docs/api/hilbish/hilbish.editor/index.html +++ b/versions/native-modules/docs/api/hilbish/hilbish.editor/index.html @@ -7,5 +7,7 @@ directly interact with the line editor in use.

getLine() -> string

Returns the current input line.

getVimRegister(register) -> string

Returns the text that is at the register.

insert(text) -

Inserts text into the line.

setVimRegister(register, text) +

Inserts text into the line.

getChar() -> 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.

\ No newline at end of file diff --git a/versions/native-modules/docs/api/hilbish/index.html b/versions/native-modules/docs/api/hilbish/index.html index 55325a9..8e5bba5 100644 --- a/versions/native-modules/docs/api/hilbish/index.html +++ b/versions/native-modules/docs/api/hilbish/index.html @@ -63,6 +63,7 @@ a desination.

Methods

Sets/toggles the option of automatically flushing output. A call with no argument will toggle the value.

flush()

Flush writes all buffered input to the sink.

read() -> string -

Reads input from the sink.

write(str) +

Reads a liine of input from the sink.

readAll() -> string +

Reads all input from the sink.

write(str)

Writes data to a sink.

writeln(str)

Writes data to a sink with a newline at the end.

\ No newline at end of file diff --git a/versions/native-modules/docs/api/hilbish/index.xml b/versions/native-modules/docs/api/hilbish/index.xml index 59050c3..81c38b1 100644 --- a/versions/native-modules/docs/api/hilbish/index.xml +++ b/versions/native-modules/docs/api/hilbish/index.xml @@ -8,6 +8,7 @@ handler(line, pos) The handler function is the callback for tab completion in Hi Functions getLine() -> string Returns the current input line. getVimRegister(register) -> string Returns the text that is at the register. insert(text) Inserts text into the line. +getChar() -> 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.Interface hilbish.historyhttps://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/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() -> table Retrieves all history. diff --git a/versions/native-modules/docs/features/index.xml b/versions/native-modules/docs/features/index.xml index a2c8d69..fca237e 100644 --- a/versions/native-modules/docs/features/index.xml +++ b/versions/native-modules/docs/features/index.xml @@ -1,4 +1,4 @@ Features on Hilbishhttps://rosettea.github.io/Hilbish/versions/native-modules/docs/features/Recent content in Features on HilbishHugo -- gohugo.ioen-usNotificationhttps://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/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.Runner Modehttps://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/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. \ No newline at end of file +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. \ No newline at end of file diff --git a/versions/native-modules/docs/features/runner-mode/index.html b/versions/native-modules/docs/features/runner-mode/index.html index 171c51e..a3a95ee 100644 --- a/versions/native-modules/docs/features/runner-mode/index.html +++ b/versions/native-modules/docs/features/runner-mode/index.html @@ -1,11 +1,11 @@ Runner Mode — Hilbish

Runner Mode

Last updated Apr 14, 2023
Customize the interactive script/command runner.

Hilbish allows you to change how interactive text can be interpreted. +

Runner Mode

Last updated Sep 28, 2023
Customize the interactive script/command runner.

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.

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.

Runner mode can also be used to handle specific kinds of input before evaluating like normal, which is how Link.hsh handles links.

\ No newline at end of file diff --git a/versions/native-modules/index.xml b/versions/native-modules/index.xml index 6619370..14d6ef7 100644 --- a/versions/native-modules/index.xml +++ b/versions/native-modules/index.xml @@ -24,6 +24,7 @@ handler(line, pos) The handler function is the callback for tab completion in Hi Functions getLine() -> string Returns the current input line. getVimRegister(register) -> string Returns the text that is at the register. insert(text) Inserts text into the line. +getChar() -> 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.Interface hilbish.historyhttps://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/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() -> 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 displayNotificationhttps://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/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.Runner Modehttps://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/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.Welcome to the Hilbish bloghttps://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/Hello! Welcome to the Hilbish blog. This will mainly contain release announcements and some other things relating to Hilbish (development). \ No newline at end of file +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.Welcome to the Hilbish bloghttps://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/Hello! Welcome to the Hilbish blog. This will mainly contain release announcements and some other things relating to Hilbish (development). \ No newline at end of file diff --git a/versions/native-modules/sitemap.xml b/versions/native-modules/sitemap.xml index 1571165..f2c8331 100644 --- a/versions/native-modules/sitemap.xml +++ b/versions/native-modules/sitemap.xml @@ -1 +1 @@ -https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/2023-04-14T00:24:19-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/faq/2022-12-20T00:41:48-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/getting-started/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/2022-12-20T19:42:44-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/improving-this-website/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.2-release/2023-04-10T12:38:30-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.1-release/2023-04-01T18:16:13-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1-release/2023-02-10T17:11:44-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.0-release/2022-12-28T22:27:05-04:00https://rosettea.github.io/Hilbish/versions/native-modules/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/categories/https://rosettea.github.io/Hilbish/versions/native-modules/install/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.aliases/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.completions/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.editor/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.jobs/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.module/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.os/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.runner/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.timers/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.userdir/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/bait/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/commander/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/fs/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/terminal/https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/2023-07-10T19:03:30-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/2023-04-14T00:40:41-04:00https://rosettea.github.io/Hilbish/versions/native-modules/tags/https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/2022-12-28T22:27:05-04:00 \ No newline at end of file +https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/2023-04-14T00:24:19-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/faq/2022-12-20T00:41:48-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/getting-started/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/2022-12-20T19:42:44-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/improving-this-website/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.2-release/2023-04-10T12:38:30-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1.1-release/2023-04-01T18:16:13-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.1-release/2023-02-10T17:11:44-04:00https://rosettea.github.io/Hilbish/versions/native-modules/blog/v2.0-release/2022-12-28T22:27:05-04:00https://rosettea.github.io/Hilbish/versions/native-modules/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/categories/https://rosettea.github.io/Hilbish/versions/native-modules/install/2023-04-14T00:04:52-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.aliases/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.completions/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.editor/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.history/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.jobs/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.module/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.os/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.runner/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.timers/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/hilbish.userdir/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/bait/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/commander/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/fs/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/hilbish/https://rosettea.github.io/Hilbish/versions/native-modules/docs/api/terminal/https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/notifications/2023-07-10T19:03:30-04:00https://rosettea.github.io/Hilbish/versions/native-modules/docs/features/runner-mode/2023-09-27T20:31:27-04:00https://rosettea.github.io/Hilbish/versions/native-modules/tags/https://rosettea.github.io/Hilbish/versions/native-modules/blog/welcome/2022-12-28T22:27:05-04:00 \ No newline at end of file