mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 01:08:54 +03:00
Merge commit '4b7d33' into cc-merge
This commit is contained in:
commit
02ab983b7d
@ -829,27 +829,18 @@
|
|||||||
::
|
::
|
||||||
++ ta-vew :: computed prompt
|
++ ta-vew :: computed prompt
|
||||||
|- ^- (pair @ud (list @c))
|
|- ^- (pair @ud (list @c))
|
||||||
?^ ris
|
=; vew/(pair (list @c) tape)
|
||||||
%= $
|
[(add pos.inp (lent q.vew)) (weld (tuba q.vew) p.vew)]
|
||||||
ris ~
|
?: vis.pom
|
||||||
cad.pom
|
:- buf.say.inp :: default prompt
|
||||||
:(welp "(reverse-i-search)'" (tufa str.u.ris) "': ")
|
?~ ris
|
||||||
==
|
cad.pom
|
||||||
=- [(add pos.inp (lent p.vew)) (weld (tuba p.vew) q.vew)]
|
:(welp "(reverse-i-search)'" (tufa str.u.ris) "': ")
|
||||||
^= vew ^- (pair tape (list @c))
|
:- (reap (lent buf.say.inp) `@c`'*') :: hidden input
|
||||||
?: vis.pom [cad.pom buf.say.inp]
|
%+ welp
|
||||||
:- ;: welp
|
cad.pom
|
||||||
cad.pom
|
?~ buf.say.inp ~
|
||||||
?~ buf.say.inp ~
|
:(welp "<" (scow %p (end 4 1 (sham buf.say.inp))) "> ")
|
||||||
;: welp
|
|
||||||
"<"
|
|
||||||
(scow %p (end 4 1 (sham buf.say.inp)))
|
|
||||||
"> "
|
|
||||||
==
|
|
||||||
==
|
|
||||||
=+ len=(lent buf.say.inp)
|
|
||||||
|- ^- (list @c)
|
|
||||||
?:(=(0 len) ~ [`@c`'*' $(len (dec len))])
|
|
||||||
--
|
--
|
||||||
++ edit :: produce sole-edits
|
++ edit :: produce sole-edits
|
||||||
|%
|
|%
|
||||||
|
Loading…
Reference in New Issue
Block a user