phirepass-widgets 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/phirepass-terminal.cjs.entry.js +4 -1
- package/dist/collection/components/phirepass-terminal/phirepass-terminal.js +4 -1
- package/dist/components/phirepass-terminal.js +3 -3
- package/dist/esm/phirepass-terminal.entry.js +4 -1
- package/dist/phirepass-widgets/{p-13e452ab.entry.js → p-bbb96b8f.entry.js} +4 -4
- package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1208,14 +1208,17 @@ const PhirepassTerminal = class {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
send_ssh_terminal_resize() {
|
|
1210
1210
|
if (!this.channel || !this.channel.is_connected() || !this.session_id) {
|
|
1211
|
+
console.warn('Cannot send terminal resize: channel not connected or session_id missing');
|
|
1211
1212
|
return;
|
|
1212
1213
|
}
|
|
1213
1214
|
const cols = this.terminal?.cols ?? 0;
|
|
1214
1215
|
const rows = this.terminal?.rows ?? 0;
|
|
1215
1216
|
if (cols <= 0 || rows <= 0) {
|
|
1217
|
+
console.warn('Cannot send terminal resize: invalid terminal dimensions (cols:', cols, 'rows:', rows, ') ');
|
|
1216
1218
|
return;
|
|
1217
1219
|
}
|
|
1218
1220
|
try {
|
|
1221
|
+
console.log(`Sending terminal resize: cols=${cols}, rows=${rows}`);
|
|
1219
1222
|
this.channel.send_ssh_terminal_resize(this.nodeId, this.session_id, cols, rows);
|
|
1220
1223
|
}
|
|
1221
1224
|
catch (err) {
|
|
@@ -1403,7 +1406,7 @@ const PhirepassTerminal = class {
|
|
|
1403
1406
|
this.usernameBuffer = "";
|
|
1404
1407
|
}
|
|
1405
1408
|
render() {
|
|
1406
|
-
return (h$1(Host, { key: '
|
|
1409
|
+
return (h$1(Host, { key: 'c892f299e0b57b862a370ae1628bb7ca2097fa34' }, h$1("div", { key: '9b17270ecb3a66cf0db9b07ffaf2c87ec80d6770', id: "ccc", ref: el => (this.containerEl = el) })));
|
|
1407
1410
|
}
|
|
1408
1411
|
static get watchers() { return {
|
|
1409
1412
|
"nodeId": [{
|