From 60284850f22624a03996e882fcfd6aeb2af88b93 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Jan 2019 15:12:52 -0500 Subject: Render selected list item differently --- lib/ui/list.go | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/ui/list.go b/lib/ui/list.go index 58f304f..9caae20 100644 --- a/lib/ui/list.go +++ b/lib/ui/list.go @@ -88,6 +88,7 @@ func (list *List) Select(index int) { panic(fmt.Errorf("Attempted to select unknown child")) } list.selected = index + list.Items[list.selected].invalid = true list.Invalidate() } -- cgit 1.4.1-2-gfad0 kartik/mu/'>mu
Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/html/061text.mu.html
blob: 4fdad40f58620373858fe791150237cb61e71be2 (plain) (tree)
1
2
3
4
5
6
7
8
9