diff options
author | glenda <glenda@cirno> | 2022-09-11 09:42:42 +0000 |
---|---|---|
committer | glenda <glenda@cirno> | 2022-09-11 09:42:42 +0000 |
commit | e59277504e7b7441729a2c6a097c72eb4142704d (patch) | |
tree | fd84f5e3ce42027efbf2cccbf1a5dd67595c3ca4 /runtime | |
parent | 759d2d541d943fe95138789477fa6faddf6e3e08 (diff) |
Better handling of shy results in the session
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/start.apl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/start.apl b/runtime/start.apl index d65d0bc..64b8be8 100644 --- a/runtime/start.apl +++ b/runtime/start.apl @@ -8,9 +8,11 @@ } handleMain←{ 0::⍺ - data←⍵ - ⎕rawio←data - ⎕rawio←⎕ucs 10 + (shy data)←⍵ + _←{ + ⎕rawio←data + ⎕rawio←⎕ucs 10 + } IF ~shy ⎕rawio←prompt ≢prompt } @@ -28,8 +30,7 @@ data←⍵ ⎕rawio←data ⎕rawio←⎕ucs 10 - ⎕rawio←prompt - ≢prompt + 0 } handleQuoteQuad←{ 0::⍺ |