An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: if you exit a container manually, it should close the underlying tty as well
Andras Bacsai595a2414b133
diff --git a/resources/views/livewire/project/shared/terminal.blade.php b/resources/views/livewire/project/shared/terminal.blade.phpindex 31887120de..3c485c286a 100644--- a/resources/views/livewire/project/shared/terminal.blade.php+++ b/resources/views/livewire/project/shared/terminal.blade.php@@ -118,9 +118,8 @@socket.send(JSON.stringify({message: data}));-// Type CTRL + D or exit in the terminal- if (data === '\x04' || (data === '\r' && stripAnsiCommands(commandBuffer).trim() === 'exit')) {+ if (data === '\x04' || (data === '\r' && stripAnsiCommands(commandBuffer).trim().includes('exit'))) {checkIfProcessIsRunningAndKillIt();setTimeout(() => {$data.terminalActive = false;@@ -215,8 +214,8 @@term.resize(termWidth, termHeight);socket.send(JSON.stringify({resize: {- cols: 600,- rows: 600+ cols: termWidth,+ rows: termHeight}}));}