mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[PR #423] [CLOSED] implement modal_input - like js 'prompt' primitive #946
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#946
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/423
Author: @holiman
Created: 3/30/2020
Status: ❌ Closed
Base:
master← Head:modal_input📝 Commits (1)
b13187dimplement modal_input - like js 'prompt' primitive📊 Changes
4 files changed (+219 additions, -0 deletions)
View changed files
➕
demos/modal_input/README.md(+1 -0)➕
demos/modal_input/main.go(+26 -0)➕
demos/modal_input/screenshot.png(+0 -0)➕
modal_input.go(+192 -0)📄 Description
This PR implements another modal primitive, similar to javascript
promptmethod. I'm a bit new to tview, and I'm not quite sure if things like this belong in the upstream library or if they are expected to be written in the upper layer. However, it seemed natural to make it similar to the existingmodalwindows. Please let me know if I've missed some easier way to achieve the same goal.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.