Charles WANG
Charles WANG
But I want to draw a `fullscreen` window for my app, I get `gg.screen_size()` function but no file of `X11/Xlib.h`, though I also install `libXi-dev` and `mesa-common-dev` package, why?
OIC, not imple > You mean this? > https://github.com/vlang/v/blob/master/vlib/gg/gg.v#L640 oh, I see, not yet.
`j` is a local varibale within for loop.
? `println(os.args)`?
> You can use `json2.decode_array[Data](...)` as a workaround. Sorry, `json2.decode_array[]()` has been deprecated to `json2.decode[..]()` after `2025-3-18`, but ...
Use `data := json2.decoder2.decode[[]Data](json2_str) or {println('Err: $err') return none }`, got: `Expect number but got null` error.
@enghitalo Thank you.
我觉得应该要else{}, 方便以后修改代码。