Skip to content

Commit 9deab88

Browse files
committed
feat: resolve conflicts
1 parent b44fe5d commit 9deab88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/screentracker/pty_conversation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (c *PTYConversation) Start(ctx context.Context) {
195195
c.initialPromptReady = true
196196
}
197197

198-
if !c.loadStateSuccessful && c.cfg.StatePersistenceConfig.LoadState {
198+
if c.initialPromptReady && !c.loadStateSuccessful && c.cfg.StatePersistenceConfig.LoadState {
199199
_ = c.loadState()
200200
c.loadStateSuccessful = true
201201
}
@@ -596,7 +596,7 @@ func (c *PTYConversation) SaveState() error {
596596
// Clear dirty flag after successful save
597597
c.dirty = false
598598

599-
c.cfg.Logger.Info("State saved successfully to: %s", stateFile)
599+
c.cfg.Logger.Info(fmt.Sprintf("State saved successfully to: %s", stateFile))
600600

601601
return nil
602602
}

0 commit comments

Comments
 (0)