Skip to content

Commit 24c3ac8

Browse files
chore(release): update CHANGELOG.md
1 parent 922b086 commit 24c3ac8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.2.2] - 2026-03-11
6+
7+
### Bug Fixes
8+
9+
- Defer BufDelete handler to ignore buflisted changes from scope-nvim
10+
scope-nvim scopes buffers per tab page by toggling buflisted on
11+
TabLeave/TabEnter. Setting buflisted=false fires BufDelete, which
12+
pterm's handler interpreted as a true buffer deletion—calling
13+
M.detach(), killing the bridge (SIGHUP/129), and wiping the buffer.
14+
15+
Defer the BufDelete callback with vim.schedule and check whether the
16+
buffer is still valid and loaded. A merely-unlisted buffer survives
17+
the check and the connection is preserved; a truly deleted buffer
18+
triggers detach as before.
519
## [0.2.1] - 2026-03-10
620

721
### Bug Fixes
@@ -170,6 +184,7 @@ Scrollback may contain stale SGR attributes or cursor-hide sequences
170184
- *(core)* Set up cachix action for read-only and push modes
171185
- *(core)* Update flake configuration
172186
- Add git-cliff config and generate v0.1.0 changelog
187+
[0.2.2]: https://github.com/ttak0422/pterm/compare/v0.2.1..v0.2.2
173188
[0.2.1]: https://github.com/ttak0422/pterm/compare/v0.2.0..v0.2.1
174189
[0.2.0]: https://github.com/ttak0422/pterm/compare/v0.1.0..v0.2.0
175190

0 commit comments

Comments
 (0)