# Hands-on Rust: active console numbering creates rendering issue for dungeon crawler with graphics

**URL:** <https://forum.devtalk.com/t/hands-on-rust-active-console-numbering-creates-rendering-issue-for-dungeon-crawler-with-graphics/79558>\
**Category:** PragProg Customers\
**Tags:** question, book-hands-on-rust\
**Created:** [22 October 2022 09:05 UTC](https://forum.devtalk.com/t/hands-on-rust-active-console-numbering-creates-rendering-issue-for-dungeon-crawler-with-graphics/79558 "2022-10-22T09:05:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vlfnbe](https://forum.devtalk.com/user_avatar/forum.devtalk.com/vlfnbe/32/4563_2.png) [@vlfnbe](https://forum.devtalk.com/u/vlfnbe)\
**Post date:** [22 October 2022 09:05 UTC](https://forum.devtalk.com/t/hands-on-rust-active-console-numbering-creates-rendering-issue-for-dungeon-crawler-with-graphics/79558/1 "2022-10-22T09:05:22Z")

</div>

Hi @herbert,

If I use set\_active\_console(0) and set\_active\_console(1) in the render functions for Player and Map (like in the book), I only see the player sprite. If I increment each id, the whole thing works fine. Based on Cargo.lock, bracket-lib 0.8.7 is installed rather than 0.8.1. The source code for the book looks fine. So I’m under the impression the version difference is the culprit here. On the other hand, [the bracket-lib documentation](https://bfnightly.bracketproductions.com/bracket-lib/consoles_print.html) implies that using 0 should be fine, so I’d expect that to work. Am I missing something here?

---

<div class="post-metadata">

**Author:** ![Asdaois](https://forum.devtalk.com/user_avatar/forum.devtalk.com/asdaois/32/6808_2.png) [@Asdaois](https://forum.devtalk.com/u/Asdaois)\
**Post date:** [4 December 2024 16:53 UTC](https://forum.devtalk.com/t/hands-on-rust-active-console-numbering-creates-rendering-issue-for-dungeon-crawler-with-graphics/79558/2 "2024-12-04T16:53:33Z")

</div>

I have a similar problem, the solution is see your context builder, you are creating three consoles instead of two
