Murat Kasimov

More about me

Я language (β)

/Я language (β)/Tutorials/Command line-task-manager-4/

Full source codePrevious chapterNext chapter

First of all, let's delegate printing out whole Scrolling List to some expression:

display records = records `kyokl` Focus `ha` Forth `ha` Await `ha` print `ha___` Focus `hu` " -> " `lo` Same `la_` Exist `hu` " - " `lo` Same `ho__` Same @Title `ha` to `ha` Merge @List @(Nonempty List) `ho__'yokl` Forth `ha` Await `ha` output `ho__'yuk` Await `ha` output `ha` Caret `hv'he` Newline

Challenge: put cursor mark on the right side.

Previously we highlighted a focused item in console output, but we never had a chance to actually change it:

display `ha` that @( Scrolling List ) `hv__` shift `hv'he` Down `hv` initial

Challenge: try to shift twice, either using State or using that manually.

Challenge: what if you try to shift using Lift instead?