fmt: fix alignment of struct init fields (#22025)

This commit is contained in:
yuyi 2024-08-11 14:11:24 +08:00 committed by GitHub
parent 99da5726db
commit c51d30bf53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
671 changed files with 18817 additions and 18787 deletions

View file

@ -491,15 +491,15 @@ type CleanupFn = fn (voidptr)
fn main() {
mut app := &App{}
app.tui = ui.init(
user_data: app
init_fn: InitFn(init)
frame_fn: FrameFn(frame)
cleanup_fn: CleanupFn(cleanup)
event_fn: EventFn(event)
fail_fn: fail
user_data: app
init_fn: InitFn(init)
frame_fn: FrameFn(frame)
cleanup_fn: CleanupFn(cleanup)
event_fn: EventFn(event)
fail_fn: fail
capture_events: true
hide_cursor: true
frame_rate: 60
hide_cursor: true
frame_rate: 60
)
app.tui.run()!
}