formatting
This commit is contained in:
@@ -12,8 +12,8 @@ pub mut:
|
||||
fn (mut f RoomOrderFlow) room_choice() ! {
|
||||
i := f.ui.ask_dropdown(
|
||||
description: 'Which type of room do you want?'
|
||||
items: ['penthouse', 'normal', 'single', 'appartment_room']
|
||||
warning: 'Please select your right type of room'
|
||||
items: ['penthouse', 'normal', 'single', 'appartment_room']
|
||||
warning: 'Please select your right type of room'
|
||||
)!
|
||||
|
||||
println(i)
|
||||
|
||||
@@ -10,9 +10,9 @@ struct RoomOrderFlow {
|
||||
fn (mut f RoomOrderFlow) room_select() ! {
|
||||
i := f.ui.ask_dropdown_int(
|
||||
description: 'Which type of room do you want?'
|
||||
items: ['penthouse', 'normal', 'single', 'appartment_room']
|
||||
warning: 'Please select your right type of room'
|
||||
reset: true
|
||||
items: ['penthouse', 'normal', 'single', 'appartment_room']
|
||||
warning: 'Please select your right type of room'
|
||||
reset: true
|
||||
)
|
||||
// match
|
||||
smoker := f.ui.ask_yesno(description: 'Are you a smoker?')
|
||||
|
||||
@@ -4,10 +4,10 @@ import freeflowuniverse.herolib.osal
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
|
||||
console.silent_set()
|
||||
mut job2 := osal.exec(cmd: 'ls /',debug:true)!
|
||||
println("I got nothing above")
|
||||
mut job2 := osal.exec(cmd: 'ls /', debug: true)!
|
||||
println('I got nothing above')
|
||||
|
||||
console.silent_unset()
|
||||
println("now I will get output")
|
||||
println('now I will get output')
|
||||
|
||||
osal.exec(cmd: 'ls /',debug:true)!
|
||||
osal.exec(cmd: 'ls /', debug: true)!
|
||||
|
||||
@@ -10,9 +10,9 @@ struct RoomOrderFlow {
|
||||
fn (mut f RoomOrderFlow) room_choice() ! {
|
||||
i := ui.ask_dropdown(
|
||||
description: 'Which type of room do you want?'
|
||||
items: ['penthouse', 'normal', 'single', 'appartment_room']
|
||||
warning: 'Please select your right type of room'
|
||||
reset: true
|
||||
items: ['penthouse', 'normal', 'single', 'appartment_room']
|
||||
warning: 'Please select your right type of room'
|
||||
reset: true
|
||||
)
|
||||
|
||||
// match
|
||||
|
||||
Reference in New Issue
Block a user