File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ helpful for this sort of construction:
183
183
QUOTE
184
184
DQUOTE
185
185
BQUOTE
186
+ UPLINE
186
187
187
188
These all evaluate to atoms whose names are the unreadable characters,
188
189
some of which may be helpful for text games and other diversions:
@@ -211,6 +212,11 @@ some of which may be helpful for text games and other diversions:
211
212
()
212
213
>
213
214
215
+ The ` UPLINE ` character, in particular, which moves the cursor to the
216
+ beginning of the previous line, is useful for making command-line
217
+ output which repeatedly updates the line in place, rather than
218
+ printing multiple lines.
219
+
214
220
## Functions
215
221
216
222
Functions come in two flavors: temporary functions, called "lambda"
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ helpful for this sort of construction:
183
183
QUOTE
184
184
DQUOTE
185
185
BQUOTE
186
+ UPLINE
186
187
187
188
These all evaluate to atoms whose names are the unreadable characters,
188
189
some of which may be helpful for text games and other diversions:
@@ -211,6 +212,11 @@ some of which may be helpful for text games and other diversions:
211
212
()
212
213
>
213
214
215
+ The ` UPLINE ` character, in particular, which moves the cursor to the
216
+ beginning of the previous line, is useful for making command-line
217
+ output which repeatedly updates the line in place, rather than
218
+ printing multiple lines.
219
+
214
220
## Functions
215
221
216
222
Functions come in two flavors: temporary functions, called "lambda"
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ func InitGlobals() Env {
30
30
globals .Set ("QUOTE" , Atom {"'" })
31
31
globals .Set ("BQUOTE" , Atom {"`" })
32
32
globals .Set ("DQUOTE" , Atom {"\" " })
33
+ globals .Set ("UPLINE" , Atom {"\033 [F" })
33
34
return globals
34
35
}
35
36
You can’t perform that action at this time.
0 commit comments