# Update to WASM shell

**URL:** <https://swi-prolog.discourse.group/t/update-to-wasm-shell/8835>\
**Category:** Announce\
**Tags:** wasm, shell, online\
**Created:** [February 25, 2025, 5:03pm UTC](https://swi-prolog.discourse.group/t/update-to-wasm-shell/8835 "2025-02-25T17:03:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [February 25, 2025, 5:03pm UTC](https://swi-prolog.discourse.group/t/update-to-wasm-shell/8835/1 "2025-02-25T17:03:30Z")

</div>

I’m happy to announce a much updated version of the [WASM demo running Prolog in the browser](https://wasm.swi-prolog.org/wasm/shell) Highlights:

- Support trace/0
- Make get\_single\_char/1, read/1,2 and read\_term/2,3 read from the browser when the input stream is `user_input`.
- Added handling of ANSI style/color escapes, such that ansi\_format/3 works.
- Add up and download buttons (at the bottom-right). The upload accepts multiple files. Directory management is not yet supported.
- Fixes to file persistence and management.
- Split the sources into multiple files to make it more manageable.

You may need a forced reload to make sure you have all latest files.

There is of course still a lot to wish for. It is becoming a usable tool though. Please try it out. Better yet, improve it!

---

_[View the full topic](https://swi-prolog.discourse.group/t/update-to-wasm-shell/8835)._
