diff --git a/ishell.go b/ishell.go index f7b8f3d..f440095 100644 --- a/ishell.go +++ b/ishell.go @@ -701,9 +701,6 @@ func getPosition() (int, int, error) { fmt.Printf("\033[6n") var out string reader := bufio.NewReader(os.Stdin) - if err != nil { - return 0, 0, err - } for { b, err := reader.ReadByte() if err != nil || b == 'R' {