formatting

This commit is contained in:
2024-12-30 17:36:22 +02:00
parent 4858178f52
commit f0fdf146a8
141 changed files with 1850 additions and 1882 deletions

View File

@@ -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)

View File

@@ -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?')

View File

@@ -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)!

View File

@@ -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