mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
parent
22dc136ffe
commit
de00ee9ba3
1 changed files with 2 additions and 2 deletions
|
|
@ -378,7 +378,7 @@ func (c *Console) StopInteractive() {
|
|||
}
|
||||
}
|
||||
|
||||
// Interactive starts an interactive user session, where in.put is propted from
|
||||
// Interactive starts an interactive user session, where input is prompted from
|
||||
// the configured user prompter.
|
||||
func (c *Console) Interactive() {
|
||||
var (
|
||||
|
|
@ -468,7 +468,7 @@ func (c *Console) readLines(input chan<- string, errc chan<- error, prompt <-cha
|
|||
}
|
||||
}
|
||||
|
||||
// countIndents returns the number of identations for the given input.
|
||||
// countIndents returns the number of indentations for the given input.
|
||||
// In case of invalid input such as var a = } the result can be negative.
|
||||
func countIndents(input string) int {
|
||||
var (
|
||||
|
|
|
|||
Loading…
Reference in a new issue