summaryrefslogtreecommitdiff
path: root/vt100_test.go
blob: c2eb8916c14a55c1fd79fcb15e4c08026133dfbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package vt100

import "fmt"

func ExampleNormal() {
	fmt.Println(Normal("This is a normal line"))
	// Output: This is a normal line
}

func ExampleBold() {
	fmt.Println(Bold("This is a bold line"))
	// Output: This is a bold line
}

func ExampleUnderline() {
	fmt.Println(Underline("This line is underlined"))
	// Output: This line is underlined
}

func ExampleBlink() {
	fmt.Println(Blink("This is a blinking line"))
	// Output: This is a blinking line
}

func ExampleInverse() {
	fmt.Println(Inverse("This is inverse video"))
	// Output: This is inverse video
}

func ExampleDoubleWidth() {
	fmt.Println(DoubleWidth("This is double width"))
	// Output: #6This is double width
}

func ExampleDoubleHeight() {
	fmt.Println(DoubleHeight("This is double height"))
	// Output: #3This is double height
	// #4This is double height
}