Full source code ⋅ Previous chapter ⋅ Next chapter
First of all, let's delegate printing out whole Scrolling List to some expression:
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:
Challenge: try to shift twice, either using State or using that manually.