]> _ Git - termbox2.git/commit
invalidate last_(fg|bg) after mode switch
authorAdam Saponara <as@php.net>
Mon, 3 Apr 2023 00:06:56 +0000 (20:06 -0400)
committerAdam Saponara <as@php.net>
Mon, 3 Apr 2023 00:06:56 +0000 (20:06 -0400)
commit915b186bdc94c6a79537dbe1e7479af2d26f5081
treea52f248d5d46f8b6b48b7e77ddd57fcc8046a8cb
parent50b12d7f95a8a78667011310116cb743e06a5aaa
invalidate last_(fg|bg) after mode switch

last_(fg|bg) are no longer valid after a mode switch. see the test
for an example of the bug in action.
termbox2.h
tests/test_output_mode/expected.ansi [new file with mode: 0644]
tests/test_output_mode/test.php [new file with mode: 0755]