Mercurial > vim
view src/testdir/dumps/Test_terminal_color_MyTermCol.dump @ 29471:9ada26920941 v9.0.0077
patch 9.0.0077: wrong restored cursor position when switching window in autocmd
Commit: https://github.com/vim/vim/commit/b03950fafa07e8b8d975eeb345ad08b8b62e67ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 26 13:47:13 2022 +0100
patch 9.0.0077: wrong restored cursor position when switching window in autocmd
Problem: When switching window in autocmd the restored cursor position may
be wrong.
Solution: Do not restore the cursor if it was not set. (closes #10775)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jul 2022 15:00:05 +0200 |
parents | c83460a14407 |
children |
line wrap: on
line source
|h+0#00e0003#5fd7ff255|e|l@1|o| @31||+1#0000000#ffffff0|0+0&&| @35 |h+0#00e0003#5fd7ff255|e|l@1|o| @31||+1#0000000#ffffff0|1+0&&| @35 > +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|2+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|3+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|4+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|5+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|6+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|7+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|8+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|9+0&&| @35 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|1+0&&|0| @34 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|1+0&&@1| @34 | +0#00e0003#5fd7ff255@36||+1#0000000#ffffff0|1+0&&|2| @34 |!+2#ffffff16#00e0003|c|a|t| |[|r|u|n@1|i|n|g|]| @23|[+1#0000000#ffffff0|N|o| |N|a|m|e|]| |[|+|]| @23 |:+0&&|c|a|l@1| |O|p|e|n|T|e|r|m|(|)| @58