about summary refs log tree commit diff stats
path: root/js/pomo
Commit message (Collapse)AuthorAgeFilesLines
* *elioat2024-01-011-21/+41
|
* *elioat2024-01-011-1/+1
|
* pomodoro timerelioat2024-01-012-0/+98
on' href='/akspecs/aerc/blame/ui/interactive.go?h=0.1.1&id=07f7cac2f3c5b7b74d16296d5afb57ff7e908130'>^
80e891a ^
661e3ec ^
1418e1b ^


80e891a ^
1418e1b ^
cab3771 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


          
                                  



                                                                  
                                     
 


                                                          
                                      
 




                                    
package ui

import (
	"github.com/gdamore/tcell"
)

type Interactive interface {
	// Returns true if the event was handled by this component
	Event(event tcell.Event) bool
}

type Simulator interface {
	// Queues up the given input events for simulation
	Simulate(events []tcell.Event)
}

type DrawableInteractive interface {
	Drawable
	Interactive
}