mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
test-cleancode: check some of the examples too
This commit is contained in:
parent
3e4e0a35e3
commit
32cc95a340
8 changed files with 67 additions and 55 deletions
|
@ -88,11 +88,13 @@ fn event(e &tui.Event, x voidptr) {
|
|||
}
|
||||
}
|
||||
|
||||
mut app := &App{}
|
||||
app.tui = tui.init(
|
||||
user_data: app
|
||||
frame_fn: frame
|
||||
event_fn: event
|
||||
hide_cursor: true
|
||||
)
|
||||
app.tui.run() ?
|
||||
fn main() {
|
||||
mut app := &App{}
|
||||
app.tui = tui.init(
|
||||
user_data: app
|
||||
frame_fn: frame
|
||||
event_fn: event
|
||||
hide_cursor: true
|
||||
)
|
||||
app.tui.run() ?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue