diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-12-24 14:45:59 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 6a6024e38fed189606c4267dc6c18b1e1040c7ad (patch) | |
tree | 7c32bbbeb22341b26ebc20e13d44e87dba9eb716 /vendor/github.com/gdamore/tcell/v2/terms_static.go | |
parent | 8901d11674b20b59102d24ad94a394dde0e0977b (diff) |
use tcell via porting over code from awesome-gocui
Diffstat (limited to 'vendor/github.com/gdamore/tcell/v2/terms_static.go')
-rw-r--r-- | vendor/github.com/gdamore/tcell/v2/terms_static.go | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/github.com/gdamore/tcell/v2/terms_static.go b/vendor/github.com/gdamore/tcell/v2/terms_static.go new file mode 100644 index 000000000..8b3fe1295 --- /dev/null +++ b/vendor/github.com/gdamore/tcell/v2/terms_static.go @@ -0,0 +1,27 @@ +// +build tcell_minimal nacl js zos plan9 windows android + +// Copyright 2019 The TCell Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use file except in compliance with the License. +// You may obtain a copy of the license at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package tcell + +import ( + "errors" + + "github.com/gdamore/tcell/v2/terminfo" +) + +func loadDynamicTerminfo(_ string) (*terminfo.Terminfo, error) { + return nil, errors.New("terminal type unsupported") +} |