Skip to content

Remove custom I-beam mouse cursor shape and support "no" cursor - #859

Merged
ychin merged 1 commit into
macvim-dev:masterfrom
ychin:mouseshape-support-remove-custom-ibeam
Feb 20, 2019
Merged

ychin merged 1 commit into
macvim-dev:masterfrom
ychin:mouseshape-support-remove-custom-ibeam

Conversation

@ychin

@ychin ychin commented Feb 19, 2019

Copy link
Copy Markdown
Member

The old custom I-beam cursor does not have a HiDPI version, and looks out of place in MacVim compared to the native I-beam cursor. The rationale for its addition (add white border around the cursor for visibility) also seems to not matter anymore as macOS has had its cursors revamped since 10.7.3. Remove the custom cursor for now.

Also support the "no" cursor shape, which shows up when "Press Enter" prompt comes up.

For the other 'mouseshape' cursors just remove the TODO and explicitly decide not to implement them as they are a little obscure and don't have system native shapes. Could add them later as custom cursors but not worth doing so now.

Fix #755

@ychin
ychin force-pushed the mouseshape-support-remove-custom-ibeam branch from abdcc57 to f1e735a Compare February 19, 2019 08:39
The old custom I-beam cursor does not have a HiDPI version, and looks
out of place in MacVim compared to the native I-beam cursor. The
rationale for its addition (add white border around the cursor for
visibility) also seems to not matter anymore as macOS has had its
cursors revamped since 10.7.3. Remove the custom cursor for now.

Also support the "no" cursor shape, which shows up when "Press Enter"
prompt comes up. For the other 'mouseshape' cursors just remove the TODO
and explicitly decide not to implement them as they are a little obscure
and don't have system native shapes. Could add them later as custom
cursors but not worth doing so now.

Fix macvim-dev#755
@ychin
ychin force-pushed the mouseshape-support-remove-custom-ibeam branch from f1e735a to 5516843 Compare February 19, 2019 10:52
@ychin
ychin merged commit 5faeb08 into macvim-dev:master Feb 20, 2019
@ychin
ychin deleted the mouseshape-support-remove-custom-ibeam branch February 20, 2019 06:41
ychin added a commit to ychin/macvim that referenced this pull request Oct 28, 2019
Prevoiusly, macvim-dev#859 removed the custom high-contrast I-beam mouse cursor in
favor of using the system-default I-beam cursor. However, it mostly
worked well on 10.14 Mojave or above, as the cursor is designed with
dark mode in mind and works well on both bright and dark backgrounds.
Since this doesn't work well on older macOS versions, add back the
custom cursor and only enable it on those older macOS versions.

Fix macvim-dev#910.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant