2
3
Fork
You've already forked ncsu
0

Set default attributes to the whole window during curses init #204

Closed
imranyusuff wants to merge 2 commits from macos-fixbg-bow into zig
pull from: macos-fixbg-bow
merge into: selfisekai:zig
selfisekai:zig
selfisekai:zig0.16
selfisekai:master
selfisekai:zig-threaded
selfisekai:openat
selfisekai:chdir
selfisekai:clear
selfisekai:compll
imranyusuff commented 2022年06月14日 04:36:38 +02:00 (Migrated from code.blicky.net)
Copy link

The default attributes need to be applied to the whole of the main curses window during curses init via wbkgd.

This will fix the ugly look as reported in issue #203.

I am not familiar with zig, so the hardcoded constant 0x100 really should be via curses's COLOR_PAIR referencing to the 'default' style...

The default attributes need to be applied to the whole of the main curses window during curses init via `wbkgd`. This will fix the ugly look as reported in issue #203. I am not familiar with zig, so the hardcoded constant `0x100` really should be via curses's `COLOR_PAIR` referencing to the '`default`' style...
yorhel commented 2022年06月15日 06:27:31 +02:00 (Migrated from code.blicky.net)
Copy link

Thanks, added in 058b26bf9a and a5e8a43943.

Thanks, added in 058b26bf9a4d32c43b018897cfe8f70a3f2a90d2 and a5e8a43943ddd4ae49464eb1fb39d58590810d54.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
No labels
1.x
2.x
bug
feature
imported
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
selfisekai/ncsu!204
Reference in a new issue
selfisekai/ncsu
No description provided.
Delete branch "macos-fixbg-bow"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?