mirror of
https://github.com/jixishi/SerialTerminalForWindowsTerminal.git
synced 2026-11-12 08:12:23 +00:00
refactor: extract pkg/charset and internal/event packages
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 <[email protected]>
This commit is contained in:
1 parent
d434d961ee
commit
e0de872740
26 files changed
+4504
-230
No files matched your search
@@ -0,0 +1,14 @@
|
||||
-- Demo Lua plugin for the runtime plugin system.
|
||||
-- It is shipped disabled by default and only runs after `.plugin load`.
|
||||
|
||||
function OnInput(payload)
|
||||
return payload
|
||||
end
|
||||
|
||||
function OnOutput(payload)
|
||||
return payload
|
||||
end
|
||||
|
||||
function OnCommand(line)
|
||||
return line, true
|
||||
end
|
||||
Reference in new issue
Block a user