2022-03-24 10:37:37 -04:00
|
|
|
//go:build !windows && !darwin
|
2020-01-08 13:12:29 -05:00
|
|
|
|
2020-01-19 06:57:05 -05:00
|
|
|
package zenutil
|
2020-01-08 13:12:29 -05:00
|
|
|
|
2022-06-04 08:09:58 -04:00
|
|
|
import "strconv"
|
|
|
|
|
2020-01-29 11:45:40 -05:00
|
|
|
// These are internal.
|
|
|
|
var (
|
2022-05-02 10:03:48 -04:00
|
|
|
Separator = "\x1e"
|
|
|
|
LineBreak = "\n"
|
2020-01-29 11:45:40 -05:00
|
|
|
)
|
2022-06-04 08:09:58 -04:00
|
|
|
|
|
|
|
func ParseWindowId(id string) int {
|
|
|
|
wid, _ := strconv.ParseUint(id, 0, 64)
|
|
|
|
return int(wid)
|
|
|
|
}
|