You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jrnl: v3.3
Python: 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
OS: Windows 10
Current Behavior
Run jrnl by itself, then, in your editor, add at least two line breaks and type a sentence. After you save, it will insert a single line break before the end of your sentence. The distance before the end is the number of prepended line breaks minus 1.
Expected Behavior
The entry shouldn't be cut off just because of prepended line breaks.
Repro Steps
Run jrnl
In your editor, press enter twice, then type "entry"
Run jrnl -1
You'll see something like this:
[2023-02-11 11:47:35 AM] entr
y
Run jrnl
In your editor, press enter three times, then type "entry"
Diagnostic output
jrnl: v3.3
Python: 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
OS: Windows 10
Current Behavior
Run
jrnl
by itself, then, in your editor, add at least two line breaks and type a sentence. After you save, it will insert a single line break before the end of your sentence. The distance before the end is the number of prepended line breaks minus 1.Expected Behavior
The entry shouldn't be cut off just because of prepended line breaks.
Repro Steps
jrnl
jrnl -1
jrnl
jrnl -1
Debug output
Other Information
I also tested this with the default stdin editor and saw the behavior. @wren reproduced this on a Mac also so it's not Windows-specific.
The text was updated successfully, but these errors were encountered: