1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 01:34:26 +02:00

build: bump tcell version

This commit is contained in:
Ryooooooga
2023-02-21 21:53:55 +09:00
parent 526c9dea9b
commit 90772e1eaa
18 changed files with 870 additions and 23 deletions

View File

@ -50,6 +50,10 @@ func (cb *CellBuffer) SetContent(x int, y int,
if x >= 0 && y >= 0 && x < cb.w && y < cb.h {
c := &cb.cells[(y*cb.w)+x]
for i := 1; i < c.width; i++ {
cb.SetDirty(x+i, y, true)
}
c.currComb = append([]rune{}, combc...)
if c.currMain != mainc {
@ -178,13 +182,14 @@ func (cb *CellBuffer) Fill(r rune, style Style) {
}
}
var runeConfig *runewidth.Condition;
var runeConfig *runewidth.Condition
func init() {
// The defaults for the runewidth package are poorly chosen for terminal
// applications. We however will honor the setting in the environment if
// it is set.
if os.Getenv("RUNEWIDTH_EASTASIAN") == "" {
runewidth.DefaultCondition.EastAsianWidth = false;
runewidth.DefaultCondition.EastAsianWidth = false
}
// For performance reasons, we create a lookup table. However some users