Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newReadlineUI (0.24 sec)

  1. src/cmd/pprof/readlineui.go

    	"golang.org/x/term"
    )
    
    func init() {
    	newUI = newReadlineUI
    }
    
    // readlineUI implements driver.UI interface using the
    // golang.org/x/term package.
    // The upstream pprof command implements the same functionality
    // using the github.com/chzyer/readline package.
    type readlineUI struct {
    	term *term.Terminal
    }
    
    func newReadlineUI() driver.UI {
    	// disable readline UI in dumb terminal. (golang.org/issue/26254)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top