Skip to content

Commit

Permalink
console: remove comment about 'invalid' input (ethereum#15735)
Browse files Browse the repository at this point in the history
All inputs are saved into history, including 'invalid' inputs.
  • Loading branch information
RichardH92 authored and fjl committed Jan 2, 2018
1 parent 5866626 commit 72e70bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions console/prompter.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ func (p *terminalPrompter) SetHistory(history []string) {
p.State.ReadHistory(strings.NewReader(strings.Join(history, "\n")))
}

// AppendHistory appends an entry to the scrollback history. It should be called
// if and only if the prompt to append was a valid command.
// AppendHistory appends an entry to the scrollback history.
func (p *terminalPrompter) AppendHistory(command string) {
p.State.AppendHistory(command)
}
Expand Down

0 comments on commit 72e70bc

Please sign in to comment.