github directvt/vtm v2025.10.24

latest releases: v2026.02.20, v2026.02.16, v2026.02.15...
3 months ago

GitHub all current

Changes

  • Fix xml reference name resolution.
  • Introduce vtm.gate.GetViewport(), vtm.applet.GetArea(), vtm.applet.GetTitlesHeight() and the window event source.
    <config>
        <events>
            <applet>
                <script>
                    <WindowSource source="window"/>
                    <on="Ctrl+A"|WindowSource />
                    <on="preview: e2::form::upon::changed"|WindowSource />
                    local vx, vy, vw, vh = vtm.gate.GetViewport(); 
                    local wx, wy, ww, wh = vtm.applet.GetArea(); 
                    local t, b = vtm.applet.GetTitlesHeight();
                    local centrify_and_colorize = '\\x1b[11:3p\\x1b[97;40m';
                    local varea = ' viewport: coor={ '..vx..', '..vy..' } size={ '..vw..', '..vh..' } ';
                    local warea = ' window: coor={ '..wx..', '..wy..' } size={ '..ww..', '..wh..' } ';
                    local titles = ' title height: '..t..' footer height: '..b..' ';
                    vtm.gate.SetOverlay(1, centrify_and_colorize..varea..'\\n'..warea..'\\n'..titles);
                    vtm.gate.Deface();
                </script>
            </applet>
        </events>
    </config>

Don't miss a new vtm release

NewReleases is sending notifications on new releases.