nt

A sensible note-taking program
git clone git://git.laack.co/nt.git
Log | Files | Refs | README

base.go (1347B)


      1 // Copyright 2020 The TCell Authors
      2 //
      3 // Licensed under the Apache License, Version 2.0 (the "License");
      4 // you may not use file except in compliance with the License.
      5 // You may obtain a copy of the license at
      6 //
      7 //    http://www.apache.org/licenses/LICENSE-2.0
      8 //
      9 // Unless required by applicable law or agreed to in writing, software
     10 // distributed under the License is distributed on an "AS IS" BASIS,
     11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 // See the License for the specific language governing permissions and
     13 // limitations under the License.
     14 
     15 // This is just a "minimalist" set of the base terminal descriptions.
     16 // It should be sufficient for most applications.
     17 
     18 // Package base contains the base terminal descriptions that are likely
     19 // to be needed by any stock application.  It is imported by default in the
     20 // terminfo package, so terminal types listed here will be available to any
     21 // tcell application.
     22 package base
     23 
     24 import (
     25 	// The following imports just register themselves --
     26 	// these are the terminal types we aggregate in this package.
     27 	_ "github.com/gdamore/tcell/v2/terminfo/a/ansi"
     28 	_ "github.com/gdamore/tcell/v2/terminfo/v/vt100"
     29 	_ "github.com/gdamore/tcell/v2/terminfo/v/vt102"
     30 	_ "github.com/gdamore/tcell/v2/terminfo/v/vt220"
     31 	_ "github.com/gdamore/tcell/v2/terminfo/x/xterm"
     32 )