mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Fix a regression in 0.27.0 that broke setting of specific edge padding/margin via remote control. Fixes #6333
This commit is contained in:
@@ -73,6 +73,8 @@ Detailed list of changes
|
|||||||
|
|
||||||
- Fix a regression in 0.28.0 that caused a buffer overflow when clearing the screen (:iss:`6306`, :pull:`6308`)
|
- Fix a regression in 0.28.0 that caused a buffer overflow when clearing the screen (:iss:`6306`, :pull:`6308`)
|
||||||
|
|
||||||
|
- Fix a regression in 0.27.0 that broke setting of specific edge padding/margin via remote control (:iss:`6333`)
|
||||||
|
|
||||||
0.28.1 [2023-04-21]
|
0.28.1 [2023-04-21]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ func parse_set_spacing(args []string) (map[string]any, error) {
|
|||||||
mapper[q] = []string{q + "-left", q + "-top", q + "-right", q + "-bottom"}
|
mapper[q] = []string{q + "-left", q + "-top", q + "-right", q + "-bottom"}
|
||||||
mapper[q+"-h"] = []string{q + "-left", q + "-right"}
|
mapper[q+"-h"] = []string{q + "-left", q + "-right"}
|
||||||
mapper[q+"-v"] = []string{q + "-top", q + "-bottom"}
|
mapper[q+"-v"] = []string{q + "-top", q + "-bottom"}
|
||||||
mapper[q+"-left"] = []string{q + "left"}
|
mapper[q+"-left"] = []string{q + "-left"}
|
||||||
mapper[q+"-right"] = []string{q + "right"}
|
mapper[q+"-right"] = []string{q + "-right"}
|
||||||
mapper[q+"-top"] = []string{q + "top"}
|
mapper[q+"-top"] = []string{q + "-top"}
|
||||||
mapper[q+"-bottom"] = []string{q + "bottom"}
|
mapper[q+"-bottom"] = []string{q + "-bottom"}
|
||||||
}
|
}
|
||||||
for _, arg := range args {
|
for _, arg := range args {
|
||||||
k, v, found := strings.Cut(arg, "=")
|
k, v, found := strings.Cut(arg, "=")
|
||||||
|
|||||||
Reference in New Issue
Block a user