# \#stdio

**URL:** https://forums.swift.org/tag/stdio/189.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Reading ANSI code response value](https://forums.swift.org/t/reading-ansi-code-response-value/18504)

<div class="topic-metadata">

**Author:** [@MrBee](https://forums.swift.org/u/MrBee)\
**Replies:** 2\
**Last updated:** [December 4, 2018, 1:21am UTC](https://forums.swift.org/t/reading-ansi-code-response-value/18504 "2018-12-04T01:21:58Z")

</div>

Hi all, I'm playing around with ANSI code (ESC sequence) using Swift as a console app. Sending an ESC command is trivial, such as setting text color. However, reading a response value from an ESC command is challenging.…
