Fix Y on last line with no trailing new line

For zed-industries/community#2044
This commit is contained in:
Conrad Irwin 2023-09-15 11:14:04 -06:00
parent 7c77baa7c1
commit b02bd9bce1
4 changed files with 29 additions and 3 deletions

View file

@ -27,3 +27,9 @@
{"Key":"k"}
{"Key":"y"}
{"Get":{"state":"ˇThe quick brown\nfox jumps over\nthe lazy dog","mode":"Normal"}}
{"Put":{"state":"The quick brown\nfox ˇjumps over\nthe lazy dog"}}
{"Key":"shift-v"}
{"Key":"shift-g"}
{"Key":"shift-y"}
{"Get":{"state":"The quick brown\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"\"","value":"fox jumps over\nthe lazy dog\n"}}