Skip to content

Commit

Permalink
don't overwrite the default terminal background color
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Andre Birkedal committed Sep 7, 2020
1 parent fe04c7f commit 43248ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package main

import (
"github.com/gdamore/tcell"
"github.com/rivo/tview"
"github.com/termoose/irccloud/config"
"github.com/termoose/irccloud/events"
"github.com/termoose/irccloud/requests"
Expand All @@ -9,8 +11,11 @@ import (
)

func main() {
conf := config.Parse()
// Set this so we don't overwrite the default terminal
// background color
tview.Styles.PrimitiveBackgroundColor = tcell.ColorDefault

conf := config.Parse()
session, err := requests.GetSessionToken(conf.Username, conf.Password)

if err != nil {
Expand Down

0 comments on commit 43248ea

Please # to comment.