1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-05 00:59:19 +02:00

build: bump gocui

This commit is contained in:
Ryooooooga
2023-01-06 10:59:09 +09:00
parent 00b922604a
commit 657b1e897f
84 changed files with 1710 additions and 3272 deletions

View File

@ -1,6 +1,7 @@
//go:build js || plan9 || windows
// +build js plan9 windows
// Copyright 2021 The TCell Authors
// Copyright 2022 The TCell Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use file except in compliance with the License.
@ -21,5 +22,11 @@ package tcell
// that we can obtain with the console API present on Windows.
func (t *tScreen) initialize() error {
return ErrNoScreen
if t.tty == nil {
return ErrNoScreen
}
// If a tty was supplied (custom), it should work.
// Custom screen implementations will need to provide a TTY
// implementation that we can use.
return nil
}