mirror of
https://github.com/rivo/tview.git
synced 2024-11-19 03:25:34 +00:00
Some pull request post-processing.
This commit is contained in:
parent
f415a042fd
commit
7dd0754cc6
@ -1,4 +1,4 @@
|
|||||||
// Demo code for unicode(chinese) support.
|
// Demo code for unicode support (demonstrates wide Chinese characters).
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -33,7 +33,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// alert show a message dialog
|
// alert shows a confirmation dialog.
|
||||||
func alert(pages *tview.Pages, id string, message string) *tview.Pages {
|
func alert(pages *tview.Pages, id string, message string) *tview.Pages {
|
||||||
return pages.AddPage(
|
return pages.AddPage(
|
||||||
id,
|
id,
|
||||||
|
Loading…
Reference in New Issue
Block a user