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:
Mario Zechner 2025-08-16 19:21:43 +02:00
parent 3fe1f4c11e
commit 2c03724862
2 changed files with 1 additions and 3 deletions

View file

@ -2,7 +2,6 @@ import {
CombinedAutocompleteProvider, CombinedAutocompleteProvider,
Container, Container,
MarkdownComponent, MarkdownComponent,
SlashCommand,
TextComponent, TextComponent,
TextEditor, TextEditor,
TUI, TUI,

View file

@ -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