Commit 1ba0dd1 1 parent 44d63a3 commit 1ba0dd1 Copy full SHA for 1ba0dd1
File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " v2.3 Release"
3
+ date : 2024-07-20T10:05:17-04:00
4
+ draft : false
5
+ ---
6
+
7
+
8
+ > The release with full changelogs and prebuilt binaries can be
9
+ seen at the [ v2.3.0] ( https://github.com/Rosettea/Hilbish/releases/tag/v2.3.0 )
10
+ tag.
11
+
12
+ Hilbish v2.3 has now been released! This is small feature and bug fix release
13
+ which took a while to cme ut since I took a long break from programming in general.
14
+ The next release will be great, so stay tuned for that.
15
+
16
+ # Features
17
+ ## Pipes (via Lua)
18
+ Commands can now be piped to each other via the Lua API with the ` hilbish.run `
19
+ function and an ` fs.pipe ` .
20
+
21
+ Here is a minimal example of the new usage which allows users to now pipe commands
22
+ directly via Lua functions:
23
+
24
+ ``` lua
25
+ local fs = require ' fs'
26
+ local pr , pw = fs .pipe ()
27
+ hilbish .run (' ls -l' , {
28
+ stdout = pw ,
29
+ stderr = pw ,
30
+ })
31
+
32
+ pw :close ()
33
+
34
+ hilbish .run (' wc -l' , {
35
+ stdin = pr
36
+ })
37
+ ```
38
+
39
+ This also means it's easier to make commands output to any stream output,
40
+ including in commanders.
41
+
42
+ # Bug Fixes
43
+ - Commanders can now be cancelled with Ctrl-C, which means if they froze for some reason
44
+ they can now be exited.
45
+ - The shell script interpreter now keeps its environment, and this also fixes the
46
+ current working directory being wrong with some commands.
47
+ - Some greenhouse bugs have been fixed, like randomly appearing when resizing the terminal
48
+ and some text attributes like color appearing where they weren't supposed to.
You can’t perform that action at this time.
0 commit comments