mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
Bump gocui
The main change here is to bump tcell to v2.7.1, which should fix problems with multibyte characters on Windows.
This commit is contained in:
8
vendor/github.com/gdamore/tcell/v2/tscreen.go
generated
vendored
8
vendor/github.com/gdamore/tcell/v2/tscreen.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2023 The TCell Authors
|
||||
// Copyright 2024 The TCell Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use file except in compliance with the License.
|
||||
@@ -715,7 +715,7 @@ func (t *tScreen) drawCell(x, y int) int {
|
||||
return width
|
||||
}
|
||||
|
||||
if y == t.h-1 && x == t.w-1 && t.ti.AutoMargin && ti.InsertChar != "" {
|
||||
if y == t.h-1 && x == t.w-1 && t.ti.AutoMargin && ti.DisableAutoMargin == "" && ti.InsertChar != "" {
|
||||
// our solution is somewhat goofy.
|
||||
// we write to the second to the last cell what we want in the last cell, then we
|
||||
// insert a character at that 2nd to last position to shift the last column into
|
||||
@@ -1826,6 +1826,7 @@ func (t *tScreen) engage() error {
|
||||
t.TPuts(ti.EnterKeypad)
|
||||
t.TPuts(ti.HideCursor)
|
||||
t.TPuts(ti.EnableAcs)
|
||||
t.TPuts(ti.DisableAutoMargin)
|
||||
t.TPuts(ti.Clear)
|
||||
|
||||
t.wg.Add(2)
|
||||
@@ -1867,6 +1868,7 @@ func (t *tScreen) disengage() {
|
||||
t.TPuts(ti.Clear)
|
||||
t.TPuts(ti.ExitCA)
|
||||
t.TPuts(ti.ExitKeypad)
|
||||
t.TPuts(ti.EnableAutoMargin)
|
||||
t.enableMouse(0)
|
||||
t.enablePasting(false)
|
||||
t.disableFocusReporting()
|
||||
@@ -1888,7 +1890,7 @@ func (t *tScreen) finalize() {
|
||||
}
|
||||
|
||||
func (t *tScreen) StopQ() <-chan struct{} {
|
||||
return t.stopQ
|
||||
return t.quit
|
||||
}
|
||||
|
||||
func (t *tScreen) EventQ() chan Event {
|
||||
|
Reference in New Issue
Block a user