a bit of front-end work, changing users almost done on login, "drunk-code" no more (id hope), continuous processes and keybinds still not done.
This commit is contained in:
@@ -16,13 +16,14 @@
|
||||
terminal = await initTerminal({ username: 'gornodox', password}, callbackInit, 'en_US');
|
||||
updateTerminal();
|
||||
} catch (error) {
|
||||
console.error('onMount trycatch failed', error);
|
||||
console.error('terminal init failed', error);
|
||||
}
|
||||
|
||||
runTerminal();
|
||||
}
|
||||
|
||||
function updateTerminal() {
|
||||
//isProcessActive = terminal.isProcessActive;
|
||||
username = terminal!.getUser().username;
|
||||
cwd = terminal!.getCwd();
|
||||
}
|
||||
@@ -107,6 +108,7 @@
|
||||
let terminal: Terminal;
|
||||
let username: string = $state('');
|
||||
let cwd: string = $state('');
|
||||
//let isProcessActive = $state(false);
|
||||
|
||||
let inputValue = $state<string>('');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user