Vitalts / golangide

Automatically exported from code.google.com/p/golangide
0 stars 0 forks source link

A program which expects input from console cannot be tested from within LiteIDE #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Output pane doesn' t accept input

What version of the product are you using? On what operating system?
0.1.6   Windows 

Please provide any additional information below.
For example this program:
package main

import (
    "fmt"
    "bufio"
    "os"
)

func main() {
    var inputReader *bufio.Reader // reader for input
    var input string
    var err os.Error

    inputReader = bufio.NewReader(os.Stdin)
    fmt.Printf("Please enter some input: \n")
    input, err = inputReader.ReadString('\n')

    if err == nil {
        fmt.Printf("The input was: %s\n", input)
    }
}

Original issue reported on code.google.com by ivo.balbaert on 19 Jan 2011 at 2:37

GoogleCodeExporter commented 9 years ago

Original comment by Visua...@gmail.com on 20 Jan 2011 at 2:01

GoogleCodeExporter commented 9 years ago
fixed by liteide 0.2.1

Original comment by Visua...@gmail.com on 25 Feb 2011 at 9:10