Skip to content

v0.1.7

Compare
Choose a tag to compare
@acidjazz acidjazz released this 27 May 00:52
· 2 commits to main since this release
2e6119e

t.HideView will clear the stage when you need to do things like prompt the user

Task: func(t *taskin.Task) error {
	t.HideView = true
	if err := PromptForInput(); err != nil {
		t.HideView = false
        return err
    }
    t.HideView = false
	t.Title = "Input received"
	return nil
}

What's Changed

Full Changelog: v0.1.6...v0.1.7