mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
'clear' should not reset nextlinenum
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user