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

[FR] Ability to change the distance between the modeline & the input area? #503

Open
Icy-Thought opened this issue Nov 7, 2024 · 0 comments

Comments

@Icy-Thought
Copy link

I have been meaning to increase the distance between the input box area (inside Telega) and the modeline by one unit and retain that distance.

Re-defining the C-l binding to recenter-2 is not optimal in my opinion, since entering new (read) buffers will still display the content of the room with recenter-1. And because of this, I am forced to hit C-l to increase the gap between it and the modeline once again.

Default distance:
Selection 2024-11-07 02:10:34

The distance I want:
Selection 2024-11-07 02:09:51

This is the temporary solution I am using today, and it depends on the user's constant C-l input.

  (advice-add 'telega-chatbuf-recenter-1
              :around (lambda (orig-fun &rest args)
                        (recenter -2)))
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

No branches or pull requests

1 participant