Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Virtual keyboard input question

    Beginners
    5
    7
    1032
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      demihon last edited by

      Hi!

      When I use the "input" keyword in a program, the virtual keyboard shows up and when I write something and then press "+" to confirm, the program keeps running but the keyboard doesn't hide, it's still on the screen.

      Is this normal or is it a bug?
      How can I hide it?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • pianofire
        pianofire Fuze Team last edited by

        https://fuzearena.com/help/view/hideKeyboard

        1 Reply Last reply Reply Quote 0
        • D
          demihon last edited by

          If I write "hideKeyboard()" just after an "input" command, should it work?

          question = input("Type your question here")
          hideKeyboard()
          sleep(1)
          print("Are you ready to know your fortune?")
          update()
          sleep(1)

          It occurs the same thing, the keyboard doesn't hide.

          1 Reply Last reply Reply Quote 0
          • Kat
            Kat Fuze Team last edited by

            Huh, I don't remember it behaving like that before but I get the same result. You could add a clear() on the next line after input but that will also clear anything you might have had on the screen before. I think this is a bug so I'll report it. Thank you for bringing it to our attention!

            L 1 Reply Last reply Reply Quote 0
            • D
              demihon last edited by

              No problem, thank you 👍

              1 Reply Last reply Reply Quote 1
              • L
                Lupinos @Kat last edited by

                @kat said in Virtual keyboard input question:

                Huh, I don't remember it behaving like that before but I get the same result. You could add a clear() on the next line after input but that will also clear anything you might have had on the screen before. I think this is a bug so I'll report it. Thank you for bringing it to our attention!

                I stumbled up on this problem too, when I coded the tutorial "The Fortune Teller" of the second booklet for beginners. Fortunately I had the same idea with the clear() function.

                1 Reply Last reply Reply Quote 1
                • Willpowered
                  Willpowered Fuze Team last edited by

                  Just wanted to update, this will be addressed in the next patch.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post