mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-22 21:42:49 +01:00
allow negative numbers for anchor offset
This commit is contained in:
parent
62fc2594ef
commit
61dac018fb
@ -445,7 +445,7 @@ func ScreenCommand(ctx context.Context, pk *scpacket.FeCommandPacketType) (sstor
|
||||
return update, nil
|
||||
}
|
||||
|
||||
var swAnchorRe = regexp.MustCompile("^(\\d+)(?::(\\d+))?$")
|
||||
var swAnchorRe = regexp.MustCompile("^(\\d+)(?::(-?\\d+))?$")
|
||||
|
||||
func SwSetCommand(ctx context.Context, pk *scpacket.FeCommandPacketType) (sstore.UpdatePacket, error) {
|
||||
ids, err := resolveUiIds(ctx, pk, R_Session|R_Screen|R_Window)
|
||||
|
Loading…
Reference in New Issue
Block a user