'clear' should not reset nextlinenum

This commit is contained in:
sawka 2024-01-23 09:54:16 -08:00
parent 9879fe4d11
commit 6bcd37c28e

View File

@ -1495,8 +1495,6 @@ func DeleteScreenLines(ctx context.Context, screenId string) (*ModelUpdate, erro
tx.Exec(query, screenId)
query = `UPDATE history SET lineid = '', linenum = 0 WHERE screenid = ?`
tx.Exec(query, screenId)
query = `UPDATE screen SET nextlinenum = 1 WHERE screenid = ?`
tx.Exec(query, screenId)
return nil
})
if txErr != nil {