Skip to content

Commit 5893e4d

Browse files
committed
Properly resize term
1 parent 7fdd6fc commit 5893e4d

9 files changed

Lines changed: 207 additions & 70 deletions

File tree

bun.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"react-toast-plus": "^0.1.2",
5252
"react-virtuoso": "^4.12.6",
5353
"vscode": "npm:@codingame/monaco-vscode-extension-api@~20.2.1",
54-
"vscode-ws-jsonrpc": "^3.4.0"
54+
"vscode-ws-jsonrpc": "^3.4.0",
55+
"xterm-addon-fit": "^0.8.0"
5556
},
5657
"devDependencies": {
5758
"@tauri-apps/cli": "^2.9.4",

src-tauri/Cargo.lock

Lines changed: 91 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ image = "0.25.6"
4242
unxip-rs = "0.1.1"
4343
tokio-tungstenite = "0.28.0"
4444
fix-path-env = { git = "https://github.com/tauri-apps/fix-path-env-rs" }
45-
pty-process = { version = "0.5.3", features = ["async"] }
45+
portable-pty = "0.9.0"
4646

4747
[target.'cfg(unix)'.dependencies]
4848
sdkmover = { path = "../sdkmover" }

src-tauri/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use tauri::Manager;
4444
use tauri_plugin_cli::CliExt;
4545
use tauri_plugin_store::StoreExt;
4646
use templates::create_template;
47-
use terminal::{close_terminal, create_terminal, write_terminal, TermManager};
47+
use terminal::{close_terminal, create_terminal, resize_terminal, write_terminal, TermManager};
4848
use tokio::sync::Mutex;
4949
use windows::{has_wsl, install_wsl, is_windows};
5050

@@ -163,6 +163,7 @@ fn main() {
163163
create_terminal,
164164
write_terminal,
165165
close_terminal,
166+
resize_terminal,
166167
])
167168
.run(tauri::generate_context!())
168169
.expect("error while running tauri application");

0 commit comments

Comments
 (0)