forked from pterm/pterm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f873e45
commit 86a935d
Showing
42 changed files
with
62 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1467,10 +1467,10 @@ func main() { | |
// Create a fork of the default table, fill it with data and print it. | ||
// Data can also be generated and inserted later. | ||
pterm.DefaultTable.WithHasHeader().WithData(pterm.TableData{ | ||
{"Firstname", "Lastname", "Email"}, | ||
{"Paul", "Dean", "[email protected]"}, | ||
{"Callie", "Mckay", "[email protected]"}, | ||
{"Libby", "Camacho", "[email protected]"}, | ||
{"Firstname", "Lastname", "Email", "Note"}, | ||
{"Paul", "Dean", "[email protected]", ""}, | ||
{"Callie", "Mckay", "[email protected]", "这是一个测试, haha!"}, | ||
{"Libby", "Camacho", "[email protected]", "just a test, hey!"}, | ||
}).Render() | ||
|
||
pterm.Println() // Blank line | ||
|
@@ -1481,6 +1481,7 @@ func main() { | |
{"Paul", "Dean", "[email protected]"}, | ||
{"Callie", "Mckay", "[email protected]"}, | ||
{"Libby", "Camacho", "[email protected]"}, | ||
{"张", "小宝", "[email protected]"}, | ||
}).WithRightAlignment().Render() | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1339,10 +1339,10 @@ func main() { | |
// Create a fork of the default table, fill it with data and print it. | ||
// Data can also be generated and inserted later. | ||
pterm.DefaultTable.WithHasHeader().WithData(pterm.TableData{ | ||
{"Firstname", "Lastname", "Email"}, | ||
{"Paul", "Dean", "[email protected]"}, | ||
{"Callie", "Mckay", "[email protected]"}, | ||
{"Libby", "Camacho", "[email protected]"}, | ||
{"Firstname", "Lastname", "Email", "Note"}, | ||
{"Paul", "Dean", "[email protected]", ""}, | ||
{"Callie", "Mckay", "[email protected]", "这是一个测试, haha!"}, | ||
{"Libby", "Camacho", "[email protected]", "just a test, hey!"}, | ||
}).Render() | ||
|
||
pterm.Println() // Blank line | ||
|
@@ -1353,6 +1353,7 @@ func main() { | |
{"Paul", "Dean", "[email protected]"}, | ||
{"Callie", "Mckay", "[email protected]"}, | ||
{"Libby", "Camacho", "[email protected]"}, | ||
{"张", "小宝", "[email protected]"}, | ||
}).WithRightAlignment().Render() | ||
} | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.