Skip to content

Refactor event polling code.

Codecov / codecov/patch failed Dec 8, 2023 in 1s

25.60% of diff hit (target 45.58%)

View this Pull Request on Codecov

25.60% of diff hit (target 45.58%)

Annotations

Check warning on line 181 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L181

Added line #L181 was not covered by tests

Check warning on line 291 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L288-L291

Added lines #L288 - L291 were not covered by tests

Check warning on line 663 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L660-L663

Added lines #L660 - L663 were not covered by tests

Check warning on line 709 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L709

Added line #L709 was not covered by tests

Check warning on line 717 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L717

Added line #L717 was not covered by tests

Check warning on line 719 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L719

Added line #L719 was not covered by tests

Check warning on line 731 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L731

Added line #L731 was not covered by tests

Check warning on line 744 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L744

Added line #L744 was not covered by tests

Check warning on line 750 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L750

Added line #L750 was not covered by tests

Check warning on line 1092 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L1090-L1092

Added lines #L1090 - L1092 were not covered by tests

Check warning on line 1265 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L1264-L1265

Added lines #L1264 - L1265 were not covered by tests

Check warning on line 1269 in console_win.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

console_win.go#L1268-L1269

Added lines #L1268 - L1269 were not covered by tests

Check warning on line 432 in screen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

screen.go#L431-L432

Added lines #L431 - L432 were not covered by tests

Check warning on line 438 in screen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

screen.go#L435-L438

Added lines #L435 - L438 were not covered by tests

Check warning on line 455 in screen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

screen.go#L454-L455

Added lines #L454 - L455 were not covered by tests

Check warning on line 461 in screen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

screen.go#L458-L461

Added lines #L458 - L461 were not covered by tests

Check warning on line 470 in screen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

screen.go#L465-L470

Added lines #L465 - L470 were not covered by tests

Check warning on line 312 in simulation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

simulation.go#L312

Added line #L312 was not covered by tests

Check warning on line 323 in simulation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

simulation.go#L323

Added line #L323 was not covered by tests

Check warning on line 334 in simulation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

simulation.go#L334

Added line #L334 was not covered by tests

Check warning on line 345 in simulation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

simulation.go#L345

Added line #L345 was not covered by tests

Check warning on line 357 in simulation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

simulation.go#L357

Added line #L357 was not covered by tests

Check warning on line 371 in simulation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

simulation.go#L371

Added line #L371 was not covered by tests

Check warning on line 219 in tscreen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tscreen.go#L219

Added line #L219 was not covered by tests

Check warning on line 1076 in tscreen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tscreen.go#L1074-L1076

Added lines #L1074 - L1076 were not covered by tests