# Clear terminal history on close and prefer git cwd · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/93d0ac444c44f61ee052aea280eda6d7ead9504f)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 93d0ac444c44f61ee052aea280eda6d7ead9504f

Requested commit: 93d0ac444c44f61ee052aea280eda6d7ead9504f

Commit: 93d0ac444c44f61ee052aea280eda6d7ead9504f

Tree: 883a910e96007ed9e29d14f2a4a0813b86ae6a96

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Clear terminal history on close and prefer git cwd

- Pass `deleteHistory: true` when closing a terminal
- Fallback path now clears terminal before sending `exit`
- Use `gitCwd` as terminal cwd when available

```

## Parents

- [383f61c7adced4cdcf2429029234b0c0429869b5](https://git.cafe/pingdotgg/t3code/commit/383f61c7adced4cdcf2429029234b0c0429869b5?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/93d0ac444c44f61ee052aea280eda6d7ead9504f?format=markdown)
