github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/internal/store/terminal.go (about)

     1  package store
     2  
     3  // When Tilt is talking to a terminal, it can take on a few different modes.
     4  type TerminalMode int
     5  
     6  const (
     7  	// For the case where the terminal mode simply
     8  	// hasn't been initialized yet.
     9  	TerminalModeDefault TerminalMode = iota
    10  
    11  	// A termbox UI takes over your terminal screen.
    12  	TerminalModeHUD
    13  
    14  	// Logs are incrementally written to stdout.
    15  	// This is the only available mode if the user
    16  	// is redirecting tilt output to a file.
    17  	TerminalModeStream
    18  
    19  	// Tilt waits on a prompt to decide what mode
    20  	// to be in.
    21  	TerminalModePrompt
    22  )