Shell$ zig build test.zig
+ \\Shell$ zig build test.zig
\\
;
@@ -1893,7 +2099,6 @@ test "shell parsed" {
defer buffer.deinit();
try printShell(buffer.writer(), shell_out, false);
- std.log.emerg("{s}", .{buffer.items});
try testing.expectEqualSlices(u8, expected, buffer.items);
}
{
@@ -1902,8 +2107,8 @@ test "shell parsed" {
\\build output
;
const expected =
- \\Shell$ zig build test.zig
- \\build output
+ \\Shell$ zig build test.zig
+ \\build output
\\
;
@@ -1920,9 +2125,9 @@ test "shell parsed" {
\\$ ./test
;
const expected =
- \\Shell$ zig build test.zig
- \\build output
- \\$ ./test
+ \\Shell$ zig build test.zig
+ \\build output
+ \\$ ./test
\\
;
@@ -1940,10 +2145,10 @@ test "shell parsed" {
\\output
;
const expected =
- \\Shell$ zig build test.zig
- \\
- \\$ ./test
- \\output
+ \\Shell$ zig build test.zig
+ \\
+ \\$ ./test
+ \\output
\\
;
@@ -1960,9 +2165,9 @@ test "shell parsed" {
\\output
;
const expected =
- \\Shell$ zig build test.zig
- \\$ ./test
- \\output
+ \\Shell$ zig build test.zig
+ \\$ ./test
+ \\output
\\
;
@@ -1981,11 +2186,11 @@ test "shell parsed" {
\\output
;
const expected =
- \\Shell$ zig build test.zig \
- \\ --build-option
- \\build output
- \\$ ./test
- \\output
+ \\Shell$ zig build test.zig \
+ \\ --build-option
+ \\build output
+ \\$ ./test
+ \\output
\\
;
@@ -1999,15 +2204,15 @@ test "shell parsed" {
// intentional space after "--build-option1 \"
const shell_out =
\\$ zig build test.zig \
- \\ --build-option1 \
+ \\ --build-option1 \
\\ --build-option2
\\$ ./test
;
const expected =
- \\Shell$ zig build test.zig \
- \\ --build-option1 \
- \\ --build-option2
- \\$ ./test
+ \\Shell$ zig build test.zig \
+ \\ --build-option1 \
+ \\ --build-option2
+ \\$ ./test
\\
;
@@ -2023,8 +2228,8 @@ test "shell parsed" {
\\$ ./test
;
const expected =
- \\Shell$ zig build test.zig \
- \\$ ./test
+ \\Shell$ zig build test.zig \
+ \\$ ./test
\\
;
@@ -2041,9 +2246,9 @@ test "shell parsed" {
\\$1
;
const expected =
- \\Shell$ zig build test.zig
- \\$ ./test
- \\$1
+ \\Shell$ zig build test.zig
+ \\$ ./test
+ \\$1
\\
;
@@ -2058,7 +2263,7 @@ test "shell parsed" {
\\$zig build test.zig
;
const expected =
- \\Shell$zig build test.zig
+ \\Shell$zig build test.zig
\\
;
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 374338d26e..bd66603f51 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -71,19 +71,19 @@
text-align: left;
font-weight: normal;
}
- .t0_1, .t37, .t37_1 {
+ .sgr-1m {
font-weight: bold;
}
- .t2_0 {
+ .sgr-2m {
color: #575757;
}
- .t31_1 {
+ .sgr-31_1m {
color: #b40000;
}
- .t32_1 {
+ .sgr-32_1m {
color: green;
}
- .t36_1 {
+ .sgr-36_1m {
color: #005C7A;
}
.file {
@@ -114,7 +114,7 @@
line-height: normal;
}
kbd {
- font-weight: bold;
+ font-weight: normal;
}
.table-wrapper {
width: 100%;
@@ -232,16 +232,16 @@
table, th, td {
border-color: grey;
}
- .t2_0 {
+ .sgr-2m {
color: grey;
}
- .t31_1 {
+ .sgr-31_1m {
color: red;
}
- .t32_1 {
+ .sgr-32_1m {
color: #00B800;
}
- .t36_1 {
+ .sgr-36_1m {
color: #0086b3;
}
code {