mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 21:50:52 +00:00
fix: try to fix test case failures on Windows
This commit is contained in:
parent
c093bed38c
commit
35efa9f04a
4 changed files with 78 additions and 51 deletions
|
|
@ -127,9 +127,11 @@ interface AppProps {
|
|||
|
||||
export const AppWrapper = (props: AppProps) => {
|
||||
const kittyProtocolStatus = useKittyKeyboardProtocol();
|
||||
const nodeMajorVersion = parseInt(process.versions.node.split('.')[0], 10);
|
||||
return (
|
||||
<KeypressProvider
|
||||
kittyProtocolEnabled={kittyProtocolStatus.enabled}
|
||||
pasteWorkaround={process.platform === 'win32' || nodeMajorVersion < 20}
|
||||
config={props.config}
|
||||
>
|
||||
<SessionStatsProvider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue