all: fix typos (#21089)

This commit is contained in:
Turiiya 2024-03-25 11:18:27 +01:00 committed by GitHub
parent 9ad84ddc21
commit f77bb32044
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
193 changed files with 403 additions and 402 deletions

View file

@ -80,7 +80,7 @@ fn (mut a App) event(e &ui.Event) {
if a.mode != .game {
return
}
// TODO mouse movement for real Pong sharks
// TODO: mouse movement for real Pong sharks
// a.game.move_player(player_one, 0, -1)
}
.key_down {
@ -344,7 +344,7 @@ fn (mut g Game) quit() {
}
fn (mut g Game) draw_big_digit(px f32, py f32, digit int) {
// TODO use draw_line or draw_point to fix tearing with non-monospaced terminal fonts
// TODO: use draw_line or draw_point to fix tearing with non-monospaced terminal fonts
mut gfx := g.app.tui
x, y := int(px), int(py)
match digit {
@ -457,7 +457,7 @@ fn (mut g Game) free() {
g.players.clear()
}
// TODO Remove these wrapper functions when we can assign methods as callbacks
// TODO: Remove these wrapper functions when we can assign methods as callbacks
fn init(mut app App) {
app.init()
}