Skip to content

cmd/pprof: completely unable to use dumb tty #26254

@rsc

Description

@rsc

I have TERM=dumb set in my environment. pprof should not be printing ANSI escape codes:

$ go tool pprof x.prof
�[0;31mMain binary filename not available.
�[0mType: alloc_space
Time: Jul 6, 2018 at 4:00pm (EDT)
Entering interactive mode (type "help" for commands, "o" for options)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions