Commit f5bd08d
committed
refactor: use Conversation interface in Server struct
Change Server.conversation from *st.PTYConversation to st.Conversation
to program against the interface abstraction rather than the concrete type.
This ensures the Conversation interface is a complete abstraction.1 parent 3dd8c56 commit f5bd08d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments