Start work on porting icat to Go

This commit is contained in:
Kovid Goyal
2022-12-19 15:34:48 +05:30
parent aab81c2d32
commit 7a1140cd03
5 changed files with 129 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ import (
"encoding/base64"
"fmt"
"io"
"os"
"strconv"
"strings"
@@ -17,6 +18,10 @@ import (
var _ = fmt.Print
func MakeTemp() (*os.File, error) {
return os.CreateTemp("", "tty-graphics-protocol-*")
}
// Enums {{{
type GRT_a int