fix: Remove unused imports and add biome-ignore for false positive
- Remove unused SlashCommand import from tui-renderer.ts - Add biome-ignore comment for previousRenderCommands which is actually used
This commit is contained in:
@@ -2,7 +2,6 @@ import {
|
|||||||
CombinedAutocompleteProvider,
|
CombinedAutocompleteProvider,
|
||||||
Container,
|
Container,
|
||||||
MarkdownComponent,
|
MarkdownComponent,
|
||||||
SlashCommand,
|
|
||||||
TextComponent,
|
TextComponent,
|
||||||
TextEditor,
|
TextEditor,
|
||||||
TUI,
|
TUI,
|
||||||
|
|||||||
@@ -145,8 +145,7 @@ export class TUI extends Container {
|
|||||||
private isStarted = false;
|
private isStarted = false;
|
||||||
public onGlobalKeyPress?: (data: string) => boolean;
|
public onGlobalKeyPress?: (data: string) => boolean;
|
||||||
private terminal: Terminal;
|
private terminal: Terminal;
|
||||||
|
// biome-ignore lint/correctness/noUnusedPrivateClassMembers: Used in renderToScreen method on lines 260 and 276
|
||||||
// Tracking for differential rendering
|
|
||||||
private previousRenderCommands: RenderCommand[] = [];
|
private previousRenderCommands: RenderCommand[] = [];
|
||||||
private previousLines: string[] = []; // What we rendered last time
|
private previousLines: string[] = []; // What we rendered last time
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user