Commit 309d618
committed
Mask the color pair in curses_getcchar() and move the new tests
getcchar() is the one place that reads the pair out of a cell, so the mask
belongs there. inch() no longer needs its own. The complexchar checks move
to test_complexchar.1 parent 1f7d17f commit 309d618
2 files changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
540 | 548 | | |
541 | 549 | | |
542 | 550 | | |
| |||
595 | 603 | | |
596 | 604 | | |
597 | 605 | | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | 606 | | |
605 | 607 | | |
606 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
801 | 804 | | |
802 | 805 | | |
803 | 806 | | |
| |||
884 | 887 | | |
885 | 888 | | |
886 | 889 | | |
887 | | - | |
888 | 890 | | |
889 | 891 | | |
890 | 892 | | |
| |||
3675 | 3677 | | |
3676 | 3678 | | |
3677 | 3679 | | |
3678 | | - | |
| 3680 | + | |
3679 | 3681 | | |
3680 | 3682 | | |
3681 | 3683 | | |
| |||
0 commit comments