uft8 characters support

This commit is contained in:
wanzysky
2016-11-25 16:35:00 +08:00
parent 7ce2564652
commit 0d2f54137b
2 changed files with 79 additions and 39 deletions

View File

@@ -10,8 +10,8 @@ func main() {
defer termui.Close()
rows_1 := [][]string{
[]string{"header1", "header2", "header3"},
[]string{"I love Veronica", "Go-lang is so cool", "Im working on Ruby"},
[]string{"2016", "11", "11"},
[]string{"孙嘉你好吗", "Go-lang is so cool", "Im working on Ruby"},
[]string{"2016", "10", "11"},
}
table_1 := termui.NewTable()
@@ -27,7 +27,7 @@ func main() {
rows := [][]string{
[]string{"header1", "header2", "header3"},
[]string{"I love Veronica", "Go-lang is so cool", "Im working on Ruby"},
[]string{"Foundations", "Go-lang is so cool", "Im working on Ruby"},
[]string{"2016", "11", "11"},
}