github.com/turingchain2020/turingchain@v1.1.21/common/log/log15/term/terminal_appengine.go (about)

     1  // Copyright Turing Corp. 2018 All Rights Reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Based on ssh/terminal:
     6  // Copyright 2013 The Go Authors. All rights reserved.
     7  // Use of this source code is governed by a BSD-style
     8  // license that can be found in the LICENSE file.
     9  
    10  // +build appengine
    11  
    12  package term
    13  
    14  // IsTty always returns false on AppEngine.
    15  func IsTty(fd uintptr) bool {
    16  	return false
    17  }