mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Fix flicker in iterm2 (#266)
This commit is contained in:
@@ -49,7 +49,13 @@ export function useHistory(): UseHistoryManagerReturn {
|
||||
[getNextMessageId],
|
||||
);
|
||||
|
||||
// Updates an existing history item identified by its ID.
|
||||
/**
|
||||
* Updates an existing history item identified by its ID.
|
||||
* @deprecated Prefer not to update history item directly as we are currently
|
||||
* rendering all history items in <Static /> for performance reasons. Only use
|
||||
* if ABSOLUTELY NECESSARY
|
||||
*/
|
||||
//
|
||||
const updateItem = useCallback(
|
||||
(
|
||||
id: number,
|
||||
|
||||
Reference in New Issue
Block a user