- Fix number of bits in binary example. (Thanks @osiyuk)
- Make bit numbering clearer in the explanation of step 20. (Thanks @fyce)
- Make explanation of step 30 clearer by reordering paragraphs. (Thanks @mtn)
- Update How to contribute section. (Thanks @mtn)
strchr()was described incorrectly in chapter 7. (Thanks Rudi)
- In
editorSelectSyntaxHighlight(), change the logic for filename pattern matching, so that filenames likekilo.c.cwill work. (Thanks Ivandro)
- Near the end of chapter 6, add
if (last_match == -1) direction = 1;toeditorFindCallback(), to fix a segfault. (Thanks @agacek) - In the Scrolling with Page Up and Page Down
section in chapter 4, add
if (E.cy > E.numrows) E.cy = E.numrows;toeditorProcessKeypress(), so the cursor stays within the file. (Thanks @agacek) - At the beginning of chapter 3, remove the keypress printing code during the
refactor-inputstep instead of thectrl-qstep, and make it clear that you're supposed to remove that code. (Thanks @wonthegame)
- Remove all newlines and carriage returns from the end of each line read by
editorOpen(), by changingif (linelen > 0 && ...towhile (linelen > 0 && .... This allows text files with DOS line endings (\r\n) to be opened properly.
- In the Multiple lines section, make it clearer that the program doesn't compile for those steps. (Thanks @mapleray and @agentultra)
- In
editorPrompt(), change!iscntrl(c)to!iscntrl(c) && c < 128, so that we don't try to append special keys like the arrow keys to the prompt input. (Thanks @fmdkdd)
- Replace all instances of
isprint()with!iscntrl(), so that extended ASCII characters can be inserted and displayed in the editor. - Include font files in offline version of tutorial.
- Add changelog.
- Fix landing page typo. (Thanks @mtr)
- First public release.