~mna/mauve

09a8cf1f2917e0a7131e4bb336131319dbd76790 — Martin Angers 3 years ago bdf2357
initialize go module
4 files changed, 23 insertions(+), 2 deletions(-)

M doc/mauve_concepts.drawio
A go.mod
A go.sum
M mauve.go
M doc/mauve_concepts.drawio => doc/mauve_concepts.drawio +1 -1
@@ 1,1 1,1 @@
<mxfile host="Electron" modified="2019-11-26T16:16:51.859Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/12.2.2 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" etag="GEh_OKscpK4vonHhQ4D3" version="12.2.2" type="device" pages="1"><diagram id="pgsMLVG_pbv6QXweCJr3" name="Page-1">7Ztbb6M4FMc/TR634p70sU3bmYfubNWutNOnkQNO8BZwZJxbP/0eg801lCSTBLRiVGnwwTd8/vbPt4zMabj9xtDS/5N6OBgZmrcdmQ8jw9A13YD/hGWXWhzLTg0LRjwZKTe8kU+sUkrring4LkXklAacLMtGl0YRdnnJhhijm3K0OQ3KpS7RAtcMby4K6tZ/iMf91Dqxtdz+HZOFr0rWNfkmRCqyNMQ+8uimYDIfR+aUUcrTp3A7xYFoPNUuabqnhrdZxRiO+J4EdPavaA9DC9AMfJJEwB7hlKUJVT4/f3gf+vp7zH/92H1om1/vrjv+Q7ezCmYFx3ynGiXekDBAEYTuXZ8E3jPa0ZWoRMyR+6FC9z5l5JNGHInidTDAa8alj02tFONNpASzsM5JEExpADUVpZmaNnHnc2GHmAX7U/IP7IyuIg97shARS5ahWyos664llWD0I3OmIdLjGOK/qJbUMtMzirmquvKeeOuh2E/KEwEUkEUEzy6kxlC1+7R915hxvG30lV5o4G+YhpizHUSRCUxHikb2GksGN7kEdRXFL8pPiQ1J2S+yrHNlwIN0qgpKrewX2l6BmLKcNQpWUhQj416k4jgcmXeiCpwzMltxLOWfywfahWeOUA6NaKKnou+lSTVwgOcimWhYAh30Tpo5XYrMlsgl0eI5ifNg5ZZX2TrCR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H7AeO5Ran5jRv6laUnlPJMiiKSAdsVDK4JfdHrn6dX/n0Ov+44az1o4WWJNzHb6dj1YQzH9lm0bPf6tsPv4H</diagram></mxfile>
\ No newline at end of file
<mxfile host="Electron" modified="2019-11-26T17:11:58.991Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/12.2.2 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" etag="tzdJA0G0MVh2SYCurKV9" version="12.2.2" type="device" pages="1"><diagram id="pgsMLVG_pbv6QXweCJr3" name="Page-1">7ZtZU+M4EIB/TR6Z8hHb4RECDA/MLAVbu/A0pdhKrMW2UrJy8eu3ZUu+g5NMEme3TEERtXW5u9WfWnYG5jhcf2do7v+gHg4GhuatB+bdwDB0TTfgn5BsUok9tFLBjBFPVsoFr+QTq5ZSuiAejksVOaUBJ/Oy0KVRhF1ekiHG6KpcbUqD8qhzNMM1wauLgrr0b+JxP5WOLC2XP2Iy89XIuiavhEhVloLYRx5dFUTm/cAcM0p5+ilcj3EglKf0krZ72HI1mxjDEW9oQCf/CH0YWoAmYJOkAvYIpyxtqPp5++l96MvHmP/6ufnQVr/eXde50q1sgtnAMd8opcQrEgYogtKt65PAe0IbuhCTiDlyP1Tp1qeMfNKIIzG8DgK4zLi0samVaryKliAW0ikJgjENYKZiNFPTRu50KuRQsyB/SH5Azugi8rAnBxG15Bj6UJXl3LVkEox+ZMY0RHscQ/1npUktEz2hmKupK+uJqx6K/WQ8UUABmUXw2YXWGKZ2m+p3iRnH66220gsK/o5piDnbQBXZwLSl08hVoyt/W+U+qKs6ftH/lLch6fezrO/cNeCDtKoqSmdp9rRGDzHlOEsULKRXDIxb0YrjcGDeiClwzshkwbH0/9x/QDE8s4SyaEQThyoaX4qUhgM8Fc2EZgms0Bsp5nQuOpsjl0Szp6TO3TCXvEjtCBGFttMgsaNPPA9HifdwxNEk8485JRFPtGfdwi/c51j7Zg0smPgYynpehl9RnYFTR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OlmetHSVY0O1/FFdOPcP6gRagF0O7gr9HUN1VgJfJ95thsbp4zuvHijIqFdx03wCVxfxqiAoh2CSnDysf4uMrBCYx5oqheYlXmuTTAwpJIFT5F2YeilAZY6a2a2j5miqVVKghpjhNMeWwb6nm35VObZ5/49y8/xc=</diagram></mxfile>
\ No newline at end of file

A go.mod => go.mod +8 -0
@@ 0,0 1,8 @@
module git.sr.ht/~mna/mauve

go 1.13

require (
	github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942
	github.com/tj/go-terminput v1.0.0
)

A go.sum => go.sum +13 -0
@@ 0,0 1,13 @@
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942 h1:A7GG7zcGjl3jqAqGPmcNjd/D9hzL95SuoOQAaFNdLU0=
github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/tj/go-terminput v1.0.0 h1:X928u7ohxr7Dfzlxppvc5Zql5Lwd1bOH5VyIL2RPrFw=
github.com/tj/go-terminput v1.0.0/go.mod h1:8zzAs+cqdjZlTxE9DbGyjKDfGNxaJjC5bvg4vkWX2V0=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=

M mauve.go => mauve.go +1 -1
@@ 14,5 14,5 @@ import "io"
// - settings: a layered set of options, loaded from system-global, user file, environment variables, command-line flags, and view-specific.

type Input struct {
	r io.Reader // the terminal, typically
	r io.Reader // the terminal, typically - which must be in raw mode
}