File tree Expand file tree Collapse file tree 3 files changed +49
-4
lines changed Expand file tree Collapse file tree 3 files changed +49
-4
lines changed Original file line number Diff line number Diff line change 1
1
import c0Controls from './c0_controls.ts' ;
2
2
import c1Controls from './c1_controls.ts' ;
3
+ import controls from './controls.ts' ;
3
4
4
5
import type { C0Control } from './c0_controls.ts' ;
5
6
import type { C1Control } from './c1_controls.ts' ;
6
7
import type { Control } from './controls.ts' ;
7
8
8
9
export default {
9
10
c0Controls,
10
- c1Controls
11
+ c1Controls,
12
+ controls
11
13
}
12
14
13
15
export type {
Original file line number Diff line number Diff line change
1
+ import colors from './colors.ts' ;
2
+ import fonts from './fonts.ts' ;
3
+ import formats from './format.ts' ;
4
+ import ideograms from './ideograms.ts' ;
5
+ import scripts from './scripts.ts' ;
6
+ import textDecorations from './text_decoreations.ts' ;
7
+
8
+ import type { Color } from './colors.ts' ;
9
+ import type { Font } from './fonts.ts' ;
10
+ import type { Format } from './format.ts' ;
11
+ import type { Ideogram } from './ideograms.ts' ;
12
+ import type { Script } from './scripts.ts' ;
13
+ import type { TextDecoration } from './text_decoreations.ts' ;
14
+
15
+ export default {
16
+ colors,
17
+ fonts,
18
+ formats,
19
+ ideograms,
20
+ scripts,
21
+ textDecorations
22
+ }
23
+
24
+ export type {
25
+ Color ,
26
+ Font ,
27
+ Format ,
28
+ Ideogram ,
29
+ Script ,
30
+ TextDecoration
31
+ }
Original file line number Diff line number Diff line change 1
1
import colors from './colors/mod.ts'
2
2
import controls from './controls/mod.ts'
3
- import formats from "./formats/format .ts" ;
3
+ import formats from "./formats/mod .ts" ;
4
4
5
5
import type {
6
6
Bit4BackgroundColor ,
@@ -14,7 +14,14 @@ import type {
14
14
C1Control ,
15
15
Control
16
16
} from "./controls/mod.ts" ;
17
- import type { Format } from "./formats/format.ts" ;
17
+ import type {
18
+ Color ,
19
+ Font ,
20
+ Format ,
21
+ Ideogram ,
22
+ Script ,
23
+ TextDecoration
24
+ } from "./formats/mod.ts" ;
18
25
19
26
export const ansi = {
20
27
colors,
@@ -31,5 +38,10 @@ export type {
31
38
C0Control ,
32
39
C1Control ,
33
40
Control ,
34
- Format
41
+ Color ,
42
+ Font ,
43
+ Format ,
44
+ Ideogram ,
45
+ Script ,
46
+ TextDecoration
35
47
}
You can’t perform that action at this time.
0 commit comments