mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
more work on porting command parsing to Go
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
func parse_scroll_amount(amt string) ([2]interface{}, error) {
|
||||
var ans [2]interface{}
|
||||
func parse_scroll_amount(amt string) ([]interface{}, error) {
|
||||
var ans = make([]interface{}, 2)
|
||||
if amt == "start" || amt == "end" {
|
||||
ans[0] = amt
|
||||
ans[1] = nil
|
||||
|
||||
Reference in New Issue
Block a user