1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

term.ui, vweb, v: update deprecated functions (#18726)

This commit is contained in:
Turiiya
2023-07-02 08:38:33 +02:00
committed by GitHub
parent 5d4c2cd832
commit a27f2ddcc3
18 changed files with 32 additions and 32 deletions

View File

@@ -92,5 +92,5 @@ fn main() {
event_fn: event
hide_cursor: true
)
app.tui.run()?
app.tui.run()!
}

View File

@@ -42,5 +42,5 @@ fn main() {
use_alternate_buffer: false
)
println('V term.ui event viewer (press `esc` to exit)\n\n')
app.tui.run()?
app.tui.run()!
}

View File

@@ -493,5 +493,5 @@ fn main() {
hide_cursor: true
frame_rate: 60
)
app.tui.run()?
app.tui.run()!
}

View File

@@ -91,5 +91,5 @@ fn main() {
hide_cursor: true
frame_rate: 60
)
app.tui.run()?
app.tui.run()!
}

View File

@@ -125,7 +125,7 @@ fn main() {
app.mouse_pos.x = 40
app.mouse_pos.y = 15
app.ui.clear()
app.ui.run()?
app.ui.run()!
}
fn frame(mut app App) {

View File

@@ -646,5 +646,5 @@ fn main() {
event_fn: event
capture_events: true
)
a.tui.run()?
a.tui.run()!
}

View File

@@ -468,5 +468,5 @@ fn main() {
hide_cursor: true
frame_rate: 10
)
app.termui.run()?
app.termui.run()!
}