Skip to content

Commit 6f823bd

Browse files
committed
handle pressing enter with no input value more cleanly in the terminal
1 parent ed89c50 commit 6f823bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OSL Programs/apps/System/.Install_system.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"path": "Origin/(A) System/System Apps",
138138
"name": "Terminal.osl",
139139
"icon": "c #1c452a w 10 square 0 0 5 5 c #111 w 8 square 0 0 5 5 dot 0 0 c #1b8f44 w 1.5 line 0 -4 4 -4 line -4 3 -1 0 cont -4 -3",
140-
"version":"6.3"
140+
"version":"6.4"
141141
},
142142
{
143143
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/Quick_Settings.osl",

OSL Programs/apps/System/Terminal.osl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ frame window.left window.top window.right + 20 window.bottom loops + 1.5 * 20 "c
355355
)
356356
if inputs.main == "clear" (
357357
terminal.lines = []
358-
) else (
358+
) else if inputs.main.len > 0 (
359359
terminal.show_input = false
360360
if terminal.input_message == null (
361361
terminal_worker.cmd = inputs.main

0 commit comments

Comments
 (0)