You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/server/src/server/services/remoteConfigService/index.ts
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ import { app } from "electron";
6
6
import{handleLine}from"./commands";
7
7
8
8
9
+
constPROMPT='bluebubbles-config>';
10
+
11
+
9
12
exportclassRemoteConfigService{
10
13
server: net.Server;
11
14
@@ -52,7 +55,7 @@ export class RemoteConfigService {
52
55
this.clients.add(client);
53
56
constlineExtractor=newLineExtractor();
54
57
55
-
client.write("Welcome to the BlueBubbles remote configurator!\nType 'help' for help.\nPress Ctrl-D or Ctrl-C to exit the remote configurator.\n");
58
+
client.write(`Welcome to the BlueBubbles remote configurator!\nType 'help' for help.\nPress Ctrl-D or Ctrl-C to exit the remote configurator.\n${PROMPT} `);
56
59
57
60
client.on("data",async(data: Buffer)=>{
58
61
for(constlineoflineExtractor.feed(data)){
@@ -75,6 +78,7 @@ export class RemoteConfigService {
0 commit comments