master > master: code go - fügte settings hinzu
This commit is contained in:
@@ -26,6 +26,7 @@ var ansimode bool = true
|
||||
var loggingPrefix string = ""
|
||||
var force bool = false
|
||||
var tagAll bool = false
|
||||
var promptSymb string = ">"
|
||||
|
||||
func GetQuietMode() bool {
|
||||
return quietmode
|
||||
@@ -131,7 +132,7 @@ func Prompt(lines ...interface{}) (string, bool, error) {
|
||||
logGeneric(pipe, "", lines...)
|
||||
logGeneric(pipe, "", "")
|
||||
}
|
||||
fmt.Fprint(pipe, "$ ")
|
||||
fmt.Fprintf(pipe, "%s ", promptSymb)
|
||||
reader := bufio.NewReader(os.Stdin)
|
||||
line, err := reader.ReadString('\n')
|
||||
line = re.Sub(`\s+$`, "", line)
|
||||
|
||||
Reference in New Issue
Block a user