oxlint-tui 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tui.js +2 -3
package/package.json
CHANGED
package/tui.js
CHANGED
|
@@ -37,7 +37,6 @@ const KEY_MAP = {
|
|
|
37
37
|
q: { type: "EXIT" },
|
|
38
38
|
r: { type: "RUN_LINT" },
|
|
39
39
|
t: { type: "RUN_TYPE_AWARE_LINT" },
|
|
40
|
-
escape: { type: "EXIT" },
|
|
41
40
|
};
|
|
42
41
|
|
|
43
42
|
let state = {
|
|
@@ -47,7 +46,7 @@ let state = {
|
|
|
47
46
|
scrollCat: 0,
|
|
48
47
|
scrollRule: 0,
|
|
49
48
|
isLinting: false,
|
|
50
|
-
message: "
|
|
49
|
+
message: "oxlint-tui",
|
|
51
50
|
messageType: "dim",
|
|
52
51
|
...loadRules(),
|
|
53
52
|
};
|
|
@@ -526,7 +525,7 @@ function render() {
|
|
|
526
525
|
? `Config: ${state.configPath}`
|
|
527
526
|
: "No config loaded";
|
|
528
527
|
buffer.push(
|
|
529
|
-
`\x1b[${rows - 1};2H${COLORS.dim}Arrows: Nav | 1-3: Status |
|
|
528
|
+
`\x1b[${rows - 1};2H${COLORS.dim}Arrows/HJKL: Nav | 1-3: Status | R: Lint | T: Lint with --type-aware | Enter: Docs | Q: Quit | ${footerConfig}${COLORS.reset}`,
|
|
530
529
|
);
|
|
531
530
|
write(buffer.join(""));
|
|
532
531
|
}
|