Makie edit does not recognize Enter key

I have a Makie GUI with a TextBox. I can enter a number, and the value is accepted when I press the RETURN key. But it is not accepted when I press the Enter key next to the numerical keyboard.

Why, and how can I fix this?

As reference:

on(app.viewer.t_sim.stored_string) do c
    val = (parse(Int64, c))
    if val == 0
        val = 460
        app.viewer.t_sim.displayed_string[]="460"
    end
    app.next_max_time=val
    println("- ", val)
end

Using Ubuntu 22.04.

I guess the code only checks for one but not the other. You could open a PR to add the other one, too

1 Like