1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-19 00:28:03 +02:00

Bump gocui

... and import stefanhaller's tcell fork for real rather than just replacing it

This solves the problem that people trying to
"go install github.com/jesseduffield/lazygit@latest" would get the error

go: github.com/jesseduffield/lazygit@latest (in github.com/jesseduffield/lazygit@v0.40.0):
  The go.mod file for the module providing named packages contains one or
  more replace directives. It must not contain directives that would cause
  it to be interpreted differently than if it were the main module.
This commit is contained in:
Stefan Haller
2023-08-06 12:01:08 +02:00
parent 9cc18bd7e6
commit 7ccb871a45
139 changed files with 538 additions and 292 deletions

View File

@ -4,7 +4,7 @@
package gocui
import "github.com/gdamore/tcell/v2"
import "github.com/stefanhaller/tcell/v2"
// Attribute affects the presentation of characters, such as color, boldness, etc.
type Attribute uint64

View File

@ -12,9 +12,9 @@ import (
"sync"
"time"
"github.com/gdamore/tcell/v2"
"github.com/go-errors/errors"
"github.com/mattn/go-runewidth"
"github.com/stefanhaller/tcell/v2"
)
// OutputMode represents an output mode, which determines how colors

View File

@ -7,7 +7,7 @@ package gocui
import (
"strings"
"github.com/gdamore/tcell/v2"
"github.com/stefanhaller/tcell/v2"
)
// Key represents special keys or keys combinations.

View File

@ -5,8 +5,8 @@
package gocui
import (
"github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
"github.com/stefanhaller/tcell/v2"
)
// We probably don't want this being a global variable for YOLO for now

View File

@ -13,9 +13,9 @@ import (
"unicode"
"unicode/utf8"
"github.com/gdamore/tcell/v2"
"github.com/go-errors/errors"
"github.com/mattn/go-runewidth"
"github.com/stefanhaller/tcell/v2"
)
// Constants for overlapping edges