# Makie edit does not recognize Enter key

**URL:** <https://discourse.julialang.org/t/makie-edit-does-not-recognize-enter-key/112587>\
**Category:** General Usage\
**Tags:** question, package, glmakie\
**Created:** [April 5, 2024, 8:17pm UTC](https://discourse.julialang.org/t/makie-edit-does-not-recognize-enter-key/112587 "2024-04-05T20:17:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [April 5, 2024, 8:17pm UTC](https://discourse.julialang.org/t/makie-edit-does-not-recognize-enter-key/112587/1 "2024-04-05T20:17:43Z")

</div>

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:

```julia
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.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [April 6, 2024, 6:50am UTC](https://discourse.julialang.org/t/makie-edit-does-not-recognize-enter-key/112587/2 "2024-04-06T06:50:06Z")

</div>

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