---
name: "SDL_HINT_RETURN_KEY_HIDES_IME"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_RETURN_KEY_HIDES_IME"
---

# SDL\_HINT\_RETURN\_KEY\_HIDES\_IME(3)

A variable to control whether the return key on the soft keyboard should hide the soft keyboard on Android and iOS.

## NAME

SDL\_HINT\_RETURN\_KEY\_HIDES\_IME - A variable to control whether the return key on the soft keyboard should hide the soft keyboard on Android and iOS.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_RETURN\_KEY\_HIDES\_IME** *SDL\_RETURN\_KEY\_HIDES\_IME"*

## DESCRIPTION

This hint sets the default value of

**SDL\_PROP\_TEXTINPUT\_MULTILINE\_BOOLEAN** .

The variable can be set to the following values:

• "0": The return key will be handled as a key event. (default)

• "1": The return key will hide the keyboard.

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
