Fix flicker in iterm2 (#266)

This commit is contained in:
Tae Hyung Kim
2025-05-07 12:57:19 -07:00
committed by GitHub
parent 358281f0fd
commit 0a7f461d39
6 changed files with 183 additions and 193 deletions

View File

@@ -24,7 +24,6 @@ interface HandleAtCommandParams {
query: string;
config: Config;
addItem: UseHistoryManagerReturn['addItem'];
updateItem: UseHistoryManagerReturn['updateItem'];
setDebugMessage: React.Dispatch<React.SetStateAction<string>>;
messageId: number;
}
@@ -88,7 +87,7 @@ function parseAtCommand(
export async function handleAtCommand({
query,
config,
addItem: addItem,
addItem,
setDebugMessage,
messageId: userMessageTimestamp,
}: HandleAtCommandParams): Promise<HandleAtCommandResult> {