# Refactor terminal connection into a model which can be copied between terminal views · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8d34fe7e940cfdda5b44fef84ee72dfb357dbce8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8d34fe7e940cfdda5b44fef84ee72dfb357dbce8

Requested commit: 8d34fe7e940cfdda5b44fef84ee72dfb357dbce8

Commit: 8d34fe7e940cfdda5b44fef84ee72dfb357dbce8

Tree: 6162c5bbfdd0aa7ccc7614fad6ddb54db469b344

Author: Keith Simmons

Committer: Keith Simmons

## Message

```
Refactor terminal connection into a model which can be copied between terminal views
Refactor terminal modal code to use TerminalConnection model handle so we aren't storing TerminalViews in the globals
Adjust INSTANCE_BUFFER_SIZE in renderer to handle pathological terminal renders

Co-authored-by: mikayla.c.maki@gmail.com

```

## Parents

- [a82e56918ebed75f4c833387c981da255c709f7d](https://git.cafe/gitcafe/zed/commit/a82e56918ebed75f4c833387c981da255c709f7d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8d34fe7e940cfdda5b44fef84ee72dfb357dbce8?format=markdown)
