mirror of
https://github.com/go-delve/delve.git
synced 2025-10-31 02:36:18 +08:00
Update prompt
This commit is contained in:
2
main.go
2
main.go
@ -152,7 +152,7 @@ func parseCommand(cmdstr string) (string, []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (t *term) promptForInput() (string, error) {
|
func (t *term) promptForInput() (string, error) {
|
||||||
prompt := "dbg> "
|
prompt := "dlv> "
|
||||||
line := *goreadline.ReadLine(&prompt)
|
line := *goreadline.ReadLine(&prompt)
|
||||||
line = strings.TrimSuffix(line, "\n")
|
line = strings.TrimSuffix(line, "\n")
|
||||||
if line != "" {
|
if line != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user