-
-
Notifications
You must be signed in to change notification settings - Fork 609
Allow multiline commit messgages #1333
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
Allow multiline commit messgages #1333
Conversation
Just realized I still have to deal with non-ascii characters so I'm changing this to draft. |
@heiskane thanks for tackling this! |
@extrawurst |
Yeah the multibyte chars need to work though :) |
@extrawurst I'm still pretty new to contributing on GitHub and not sure if you get pinged when i switch my pull request back to |
can you rebase and fix the merge conflicts please? |
@extrawurst Done 👍 |
2b71f35
to
9a55aa5
Compare
@extrawurst Okay now i think its all correct. |
Just realized that the existing |
a3991d3
to
92c10c3
Compare
Sorry for almost messing up there 😬. I thought that the MultiLine type indicated that multiline messages are allowed but that wasn't quite it. I have changed other input boxes correctly to Also seems like i have a thing or two to learn about rebasing but as far as i can tell it should be all good to merge 👍 |
e19fc99
to
6e76ec6
Compare
6e76ec6
to
34d9ae1
Compare
Squashed |
I tested it again and it does not keep the cursor in view aka it is not scrolling to the line we are editing it only ever keeps the first x lines visible. let me know in case you cannot reproduce this - you just need to press enter a few times. putting it in draft till fixed |
I just haven't implemented the scroll yet. I kinda felt like that would be worth another issue but I'll try add it to this PR when I have time 👍 |
you are right that it is worth doing a separate smaller PR for. but lets reverse the order and have that separate PR first, because as it is right now the scrolling would already be useful to have in the current state of gitui. can you create a separate PR for that based on current master? this way we do not blow this one up more and still get a nice value added once the first (hopefully smaller) PR is merged. wdyt? |
Sure that works for me 👍 |
superceded by #1963 |
This Pull Request fixes/closes #1171
It changes the following:
enter
to create a newline in commit message boxctrl + s
I followed the checklist:
make check
without errors