Brain
Refresh
To refresh the screen run:
send(:main_scene, :update)
Search Notes
query = IO.gets("search: ") |> String.trim()
notes = NervesLivebook.Notes.all() |> Enum.filter(&String.contains?(&1.text, query))
Kino.DataTable.new(notes)