# newline_shortcut

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/config/newline_shortcut)

Return the platform-native label for the newline keyboard shortcut.

macOS labels the modifier "Option" while other platforms use Ctrl+J
as the most reliable cross-terminal shortcut.

## Signature

```python
newline_shortcut() -> str
```

## Returns

`str`

A human-readable shortcut string, e.g. `'Option+Enter'` or `'Ctrl+J'`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/b710a69b12e49479045eaa54dfb709326473500b/libs/cli/deepagents_cli/config.py#L497)