mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 05:00:46 +00:00
Fix flicker in iterm2 (#266)
This commit is contained in:
parent
358281f0fd
commit
0a7f461d39
6 changed files with 183 additions and 193 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue