Subj : ArtVu - pre alpha
To   : apam
From : Alpha
Date : Fri Apr 16 2021 07:26 am

> Do you have a library your using for go? Like to handle your ansi
> routines? I don't think it would be too hard to add support for
> writing
> to a socket if you're interested.

Go handles most of that natively: I just open the file, scan it to a
buffer, and write it to stdout line by line. I use a couple helper files
for ansi around color and cursor commands, really just shortcut and I'm
probably going to drop those depedencies.

I'd love to add socket support!

> if socket = -1 then
>    write to stdio
> else
>    write to socket
> endif

That's be pretty easy to add... There is a Windows library for go, I
wonder if it'd be in there -- https://pkg.go.dev/golang.org/x/sys/windows

I'll look into it, thanks!



|08---
|15++ |13Alpha |15++
|03TheDrunkenGamer.com|08:|078888
|08A Talisman BBS


--- Talisman v0.18-dev (Linux/x86_64)
* Origin: The Drunken Gamer BBS (21:4/158.1)