forked from Hyperion/HyperionOS
moved stuff to src/ from test/ and made better build scripts
This commit is contained in:
24
Src/Hyperion-bash-v1.0.0/bin/bash
Normal file
24
Src/Hyperion-bash-v1.0.0/bin/bash
Normal file
@@ -0,0 +1,24 @@
|
||||
local args={...}
|
||||
<<<<<<< HEAD
|
||||
local sys = require("sys")
|
||||
=======
|
||||
local os=require("os")
|
||||
local io=require("io")
|
||||
local text=""
|
||||
local blockKeyEvents=false
|
||||
io.link(io.focas)
|
||||
|
||||
os.hookSignal("keyTyped", function(_, screen, key)
|
||||
if blockKeyEvents then return end
|
||||
if key == "\n" then
|
||||
blockKeyEvents=true
|
||||
elseif key == "\b" then
|
||||
text=text:sub(1,#text-1)
|
||||
io.stdout.printInline("\b")
|
||||
else
|
||||
text=text..key
|
||||
io.stdout.printInline(key)
|
||||
end
|
||||
end)
|
||||
|
||||
>>>>>>> 9b268810a7ea44e586d5faf6e2717f1d02497c03
|
||||
0
Src/Hyperion-bash-v1.0.0/bin/ls
Normal file
0
Src/Hyperion-bash-v1.0.0/bin/ls
Normal file
17
Src/Hyperion-bash-v1.0.0/bin/neofetch
Normal file
17
Src/Hyperion-bash-v1.0.0/bin/neofetch
Normal file
@@ -0,0 +1,17 @@
|
||||
print(".. *. ..")
|
||||
print(" *= +@* +* ")
|
||||
print(" .@#. -@@@= :#@. ")
|
||||
print(" =@@+ *@@@# +@@= ")
|
||||
print(" %@@%: *@@@# -%@@% ")
|
||||
print(" :@@@@+ *@@@# .*@@@@: ")
|
||||
print(" :*@@@%- *@@@# -@@@@*: ")
|
||||
print(" =%@@#. *@@@# .#@@%= ")
|
||||
print(" :=. :*@@= *@@@# =@@+: .=: ")
|
||||
print(" %@#=..*# +@@@# #*..=#@# ")
|
||||
print(" .@@@@+=# .%@%: #=+@@@@. ")
|
||||
print(" .....=# -@= *+...:. ")
|
||||
print(" -*%*-@= - =@-*%*- ")
|
||||
print(" -@*. -@%. :%@- :*@- ")
|
||||
print(" .#@#@* ")
|
||||
print(" -#- ")
|
||||
print(" ")
|
||||
Reference in New Issue
Block a user