We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nice work
Can you see why I need to hit enter twice to return from suspend?
package main import ( "bufio" "fmt" "os" "github.com/rivo/tview" ) func main() { app := tview.NewApplication() button := tview.NewButton("Hit Enter").SetSelectedFunc(func() { app.Suspend(func() { reader := bufio.NewReader(os.Stdin) fmt.Print("Enter text: ") reader.ReadString('\n') }) }) button.SetBorder(true).SetRect(0, 0, 22, 3) if err := app.SetRoot(button, false).Run(); err != nil { panic(err) } }
The text was updated successfully, but these errors were encountered:
This is a known bug. gdamore/tcell#194
Sorry, something went wrong.
This will be resolved once the tcell bug is fixed. So I'm closing this issue as there's nothing I can do about this.
tcell
No branches or pull requests
Nice work
Can you see why I need to hit enter twice to return from suspend?
The text was updated successfully, but these errors were encountered: