fix: ghost cursor at (0,0) and ESC k title-set payload leak #16
Quality Gate failed
Failed conditions
47.9% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 570 in lib/terminal.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this control character.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5VxhyceDPdaD0YZJlv&open=AZ5VxhyceDPdaD0YZJlv&pullRequest=16
Check warning on line 570 in lib/terminal.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this control character.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5VxhyceDPdaD0YZJlx&open=AZ5VxhyceDPdaD0YZJlx&pullRequest=16
Check warning on line 3105 in lib/terminal.test.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer using an optional chain expression instead, as it's more concise and easier to read.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5Vxh0veDPdaD0YZJlz&open=AZ5Vxh0veDPdaD0YZJlz&pullRequest=16
Check warning on line 570 in lib/terminal.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this control character.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5VxhyceDPdaD0YZJlw&open=AZ5VxhyceDPdaD0YZJlw&pullRequest=16
Check warning on line 3111 in lib/terminal.test.ts
sonarqubecloud / SonarCloud Code Analysis
`String.raw` should be used to avoid escaping `\`.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5Vxh0veDPdaD0YZJl1&open=AZ5Vxh0veDPdaD0YZJl1&pullRequest=16
Check warning on line 570 in lib/terminal.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this control character.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5VxhyceDPdaD0YZJlu&open=AZ5VxhyceDPdaD0YZJlu&pullRequest=16
Check warning on line 570 in lib/terminal.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this control character.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5VxhyceDPdaD0YZJly&open=AZ5VxhyceDPdaD0YZJly&pullRequest=16
Check failure on line 567 in lib/terminal.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5VxhyceDPdaD0YZJlt&open=AZ5VxhyceDPdaD0YZJlt&pullRequest=16
Check warning on line 3106 in lib/terminal.test.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5Vxh0veDPdaD0YZJl0&open=AZ5Vxh0veDPdaD0YZJl0&pullRequest=16