# is_ascii_mode

> **Function** in `deepagents_cli`

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

Check whether the terminal is in ASCII charset mode.

Convenience wrapper so widgets can branch on charset without importing
both `_detect_charset_mode` and `CharsetMode`.

## Signature

```python
is_ascii_mode() -> bool
```

## Returns

`bool`

`True` when the detected charset mode is ASCII.

---

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