mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
term.ui, vweb, v: update deprecated functions (#18726)
This commit is contained in:
parent
5d4c2cd832
commit
a27f2ddcc3
18 changed files with 32 additions and 32 deletions
|
@ -92,5 +92,5 @@ fn main() {
|
|||
event_fn: event
|
||||
hide_cursor: true
|
||||
)
|
||||
app.tui.run()?
|
||||
app.tui.run()!
|
||||
}
|
||||
|
|
|
@ -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()!
|
||||
}
|
||||
|
|
|
@ -493,5 +493,5 @@ fn main() {
|
|||
hide_cursor: true
|
||||
frame_rate: 60
|
||||
)
|
||||
app.tui.run()?
|
||||
app.tui.run()!
|
||||
}
|
||||
|
|
|
@ -91,5 +91,5 @@ fn main() {
|
|||
hide_cursor: true
|
||||
frame_rate: 60
|
||||
)
|
||||
app.tui.run()?
|
||||
app.tui.run()!
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -646,5 +646,5 @@ fn main() {
|
|||
event_fn: event
|
||||
capture_events: true
|
||||
)
|
||||
a.tui.run()?
|
||||
a.tui.run()!
|
||||
}
|
||||
|
|
|
@ -468,5 +468,5 @@ fn main() {
|
|||
hide_cursor: true
|
||||
frame_rate: 10
|
||||
)
|
||||
app.termui.run()?
|
||||
app.termui.run()!
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue