@@ -124,7 +124,9 @@ export function ShellTerminal({ cwd, stateKey }: ShellTerminalProps) {
124124
125125 log . debug ( `Restoring state for key: ${ persistenceKey } ` , savedState ) ;
126126 if ( savedState ?. serializedState ) {
127- log . debug ( `Writing ${ savedState . serializedState . length } chars to terminal` ) ;
127+ log . debug (
128+ `Writing ${ savedState . serializedState . length } chars to terminal` ,
129+ ) ;
128130 term . write ( savedState . serializedState ) ;
129131 restoredStateLengthRef . current = savedState . serializedState . length ;
130132 } else {
@@ -138,7 +140,9 @@ export function ShellTerminal({ cwd, stateKey }: ShellTerminalProps) {
138140 if ( sessionExists ) {
139141 log . debug ( `Reconnecting to existing session ${ sessionId } ` ) ;
140142 } else {
141- log . debug ( `Saved session ${ sessionId } no longer exists, creating new one` ) ;
143+ log . debug (
144+ `Saved session ${ sessionId } no longer exists, creating new one` ,
145+ ) ;
142146 sessionId = null ;
143147 }
144148 }
@@ -178,7 +182,9 @@ export function ShellTerminal({ cwd, stateKey }: ShellTerminalProps) {
178182 }
179183 saveTimeoutRef . current = setTimeout ( ( ) => {
180184 const serialized = serialize . serialize ( ) ;
181- log . debug ( `Saving state for key: ${ persistenceKey } , ${ serialized . length } chars` ) ;
185+ log . debug (
186+ `Saving state for key: ${ persistenceKey } , ${ serialized . length } chars` ,
187+ ) ;
182188 terminalStore . setSerializedState ( persistenceKey , serialized ) ;
183189 } , 500 ) ; // 500ms debounce
184190 } ;
0 commit comments