mirror of
https://github.com/jixishi/SerialTerminalForWindowsTerminal.git
synced 2026-06-15 16:42:46 +00:00
e0de872740
Extract ConvertChunk/FormatHexFrame into pkg/charset (zero external deps). Extract UIEvent/UIEventKind/UIPanelKind types into internal/event. Update all references across main package to use qualified imports. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
19 lines
305 B
Go
19 lines
305 B
Go
package main
|
|
|
|
import (
|
|
"github.com/trzsz/trzsz-go/trzsz"
|
|
"go.bug.st/serial"
|
|
"io"
|
|
"os"
|
|
)
|
|
|
|
var (
|
|
serialPort serial.Port
|
|
out io.Writer = os.Stdout
|
|
trzszFilter *trzsz.TrzszFilter
|
|
clientIn *io.PipeReader
|
|
stdoutPipe *io.PipeReader
|
|
stdinPipe *io.PipeWriter
|
|
clientOut *io.PipeWriter
|
|
)
|