Commit 7608761
committed
Stop scrolling the last frame away when a terminal exits
The "[Terminal process exited]" line cost a row and pushed the top of the
final screen out of view -- and for a coding agent the first line of its
last answer is often the part you wanted to read. Nothing is appended
now; the dead terminal is pinned exactly on its last live frame and the
exit is reported on the tab ("claude (exited)") and by the status-bar
restart indicator.
Terminal tab names also survive an editor restart. Restored panes were
falling back to foreground-process auto-naming, so an agent tab named
"claude" came back as "bash" or "*Terminal 1*"; the explicit title is now
captured and reapplied along with the rest of the terminal's state,
including for terminals restored as already-exited.1 parent d1c8f28 commit 7608761
23 files changed
Lines changed: 267 additions & 91 deletions
File tree
- crates/fresh-editor
- locales
- src
- app
- window
- tests/e2e
- docs/features
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
| 1643 | + | |
| 1644 | + | |
1644 | 1645 | | |
0 commit comments