Browse Source

Removed debug print

v1
Wijnand Modderman-Lenstra 3 years ago
parent
commit
da33b9a180
2 changed files with 1 additions and 5 deletions
  1. 0
    5
      db.go
  2. 1
    0
      terminfo.go

+ 0
- 5
db.go View File

@@ -5,7 +5,6 @@ import (
"encoding/binary"
"errors"
"io"
"log"
"os"
"path/filepath"
"strconv"
@@ -77,8 +76,6 @@ func lookupDir(dir, name string) (*Terminfo, error) {
return nil, err
}

log.Printf("terminfo: parsing %s", f.Name())

var (
d = NewDecoder(f)
t *Terminfo
@@ -126,8 +123,6 @@ func (d *Decoder) Unmarshal() (*Terminfo, error) {
return nil, errors.New("terminfo: bad magic")
}

log.Printf("magic: %04o", header[0])

var (
t = new(Terminfo)
buf []byte

+ 1
- 0
terminfo.go View File

@@ -11,6 +11,7 @@ var DefaultDirs = []string{
"/lib/terminfo",
"/usr/lib/terminfo",
"/usr/share/terminfo",
"/usr/local/share/terminfo",
}

// Terminfo entry.

Loading…
Cancel
Save