Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix beacon at end of a long line #63

Merged
merged 1 commit into from Jan 4, 2019

Conversation

yangsheng6810
Copy link
Contributor

Beacon refuses to blink at the end of a long line (a line that is longer than (window-width)). While we do not usually have long lines in programming, long lines are common for general text writing (and for me, LaTeX). This pull request fixes this by giving the distance between the current point and the start of the current visual line. A simpler fix would be replacing (current-column) with (mod (current-column) (window-width), which does not work for visual line mode.

@Malabarba
Copy link
Owner

Lgtm. Thanks for the fix.

@Malabarba Malabarba merged commit bde7818 into Malabarba:master Jan 4, 2019
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.

None yet

2 participants