Skip to content

feat: add preserveScrollOnWrite option to lock viewport on new output#5

Merged
diegosouzapw merged 1 commit into
mainfrom
feat/port-pr-150-preserve-scroll-opt
May 23, 2026
Merged

feat: add preserveScrollOnWrite option to lock viewport on new output#5
diegosouzapw merged 1 commit into
mainfrom
feat/port-pr-150-preserve-scroll-opt

feat: add preserveScrollOnWrite option to lock viewport on new output

6a6824a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 23, 2026 in 20s

Annotations

Check failure on line 559 in lib/terminal.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5TrSi2W21o6EbfkSMV&open=AZ5TrSi2W21o6EbfkSMV&pullRequest=5

Check warning on line 3036 in lib/terminal.test.ts

See this annotation in the file changed.

@sonarqubecloud 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=AZ5TrSlOW21o6EbfkSMW&open=AZ5TrSlOW21o6EbfkSMW&pullRequest=5

Check warning on line 3037 in lib/terminal.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.

See more on https://sonarcloud.io/project/issues?id=diegosouzapw_ghostty-web&issues=AZ5TrSlOW21o6EbfkSMX&open=AZ5TrSlOW21o6EbfkSMX&pullRequest=5