Commit 6de2a16
committed
Adapt the NUL cell and long line reads to PDCurses
PDCursesMod's setcchar() reads uninitialized memory for an empty string
(PDCursesMod issue #388), so build a cell without text directly. Its
winnstr() reads at most 512 bytes, and a NUL is written in its ^@ form.1 parent 6bc6735 commit 6de2a16
2 files changed
Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
1180 | 1184 | | |
1181 | 1185 | | |
1182 | 1186 | | |
| |||
1293 | 1297 | | |
1294 | 1298 | | |
1295 | 1299 | | |
1296 | | - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
1297 | 1303 | | |
1298 | 1304 | | |
1299 | 1305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
835 | 850 | | |
836 | 851 | | |
837 | 852 | | |
838 | 853 | | |
839 | 854 | | |
840 | 855 | | |
841 | 856 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | 857 | | |
848 | 858 | | |
849 | 859 | | |
| |||
0 commit comments