Skip to content

Commit

Permalink
terminal copy and paste (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
ABevier authored Jul 24, 2023
1 parent 472b257 commit c36231f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tea",
"version": "0.2.47",
"version": "0.2.48",
"private": true,
"description": "tea gui app",
"author": "tea.xyz",
Expand Down
4 changes: 2 additions & 2 deletions svelte/src/components/terminal/terminal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
terminal.open(document.getElementById("terminal")!);
fitAddon.fit();
terminal.onKey((e) => {
sendStdInToPty({ project, data: e.key });
terminal.onData((data: string) => {
sendStdInToPty({ project, data });
});
unsubscribe = ptys.subscribeToSubprocess(project, (ptyouts: TeaSubprocess) => {
Expand Down

0 comments on commit c36231f

Please sign in to comment.