Check out my first novel, midnight's simulacra!

Hacking The Planet! with Notcurses: Difference between revisions

From dankwiki
No edit summary
Line 22: Line 22:
</pre>
</pre>
* The reference for <tt>Tetris::MoveLeft</tt> was incorrectly defined, leading to a "??" reference at the beginning of section 15.2. It is now the proper "83".
* The reference for <tt>Tetris::MoveLeft</tt> was incorrectly defined, leading to a "??" reference at the beginning of section 15.2. It is now the proper "83".
* Listing 42 ought have the caption "Rotating planes", not "Aligning output within a plane".

Revision as of 15:46, 5 May 2020

A guide to the use of Notcurses for creating vivid TUIs with character graphics.

Up-to-date (errata-corrected) PDF is available here.

A paperback version is available for purchase. It was published April 2, 2020. I upload a new copy whenever I discover major errata.

Errata in the First Edition

*All known issues have been corrected in the currently-available book*

  • The very first day it was available for purchase (2020-04-02), all copies were printed with a large grey "DRAFT" watermark on each page. If you have such a copy, and would like to exchange it for one without this flaw, email me and we'll work it out.
  • I then uploaded a version which had a phantom fifth chapter entitled "A very cursory introduction to fullscreen mode". This chapter does not yet exist. It ought not have occupied a page with its title, and I am incompetent.
  • The Tetris case study takes a lock in the wrong place. Tetris::Ticker() ought read:
   do{
     mtx_.lock();
     ms = msdelay_;

rather than

   mtx_.lock();
   do{
     ms = msdelay_;
  • The reference for Tetris::MoveLeft was incorrectly defined, leading to a "??" reference at the beginning of section 15.2. It is now the proper "83".
  • Listing 42 ought have the caption "Rotating planes", not "Aligning output within a plane".