Commit e5cf968
termattrs() returns a chtype mask, but it was routed through an int, so a
terminal that advertises A_ITALIC came back negative and the result could
no longer be passed to the attribute functions.
(cherry picked from commit 0b083c4)
Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>
Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 74da6fb commit e5cf968
3 files changed
Lines changed: 22 additions & 1 deletion
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1026 | 1040 | | |
1027 | 1041 | | |
1028 | 1042 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4959 | 4959 | | |
4960 | 4960 | | |
4961 | 4961 | | |
4962 | | - | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
4963 | 4967 | | |
4964 | 4968 | | |
4965 | 4969 | | |
| |||
0 commit comments