pull/15/head 1.0.3
Miguel Mota 6 years ago
parent 6e25a81cda
commit ca7b105a9b

@ -10,7 +10,7 @@ import (
"sync"
"time"
"github.com/nsf/termbox-go"
"github.com/miguelmota/cointop/pkg/termbox"
)
type Event struct {
@ -221,6 +221,7 @@ func findMatch(mux map[string]func(Event), path string) string {
return pattern
}
// Remove all existing defined Handlers from the map
func (es *EvtStream) ResetHandlers() {
for Path, _ := range es.Handlers {

@ -8,7 +8,7 @@ import (
"regexp"
"strings"
tm "github.com/nsf/termbox-go"
tm "github.com/miguelmota/cointop/pkg/termbox"
)
import rw "github.com/mattn/go-runewidth"

@ -8,7 +8,7 @@ import (
"image"
"sync"
tm "github.com/nsf/termbox-go"
tm "github.com/miguelmota/cointop/pkg/termbox"
)
// Bufferer should be implemented by all renderable components.

Loading…
Cancel
Save