Open koppor opened 1 month ago
Thanks for reporting!
I can confirm that the cursor only moves down on enter if the commit text field isn't empty.
I couldn't reproduce the behaviour with Pos1
(as this key doesn't exist on my keyboard), nor could I reproduce it by moving the cursor to the beginning of the first line by pressing Ctrl + a
- Enter would work as expected.
Maybe it can be considered a feature not to allow leading with a newline and to disallow moving the cursor down with Enter
if the textbox is entirely empty. Probably this makes the described behaviour specific to Windows, so I at best partially reproduced it on MacOS.
I can confirm that the cursor only moves down on enter if the commit text field isn't empty.
Normal text editors move the letters following the cursor to the next line. Before, they move all subsequent lines down by one line. - GitButler just moves the cursor.
cc @PavelLaptev
@estib-vega if you have time, could you please take a look :-)
Merged the fix in https://github.com/gitbutlerapp/gitbutler/pull/4826
Version
0.12.21
Operating System
Windows
Distribution Method
msi (Windows)
Describe the issue
Enter should move text
How to reproduce
Expected behavior
Text and cursor should be moved down - and first line empty
Relevant log output
No response