github directvt/vtm v0.9.76

latest releases: v2026.01.16, v2026.01.13, v2026.01.11...
21 months ago

GitHub all current

Changes

  • Add color cursor support (OSC 12/112):
    Set/reset cursor color:
    printf "\e]12;rgb:00/ff/00\e\\"  # Set cursor color to green.
    printf "\e]112;\e\\"             # Reset cursor color to default.
    
    Run terminal with red cursor:
    printf "vtm.run(id=Term cfg='<config><term><cursor><color bgc=reddk/></cursor></term></config>')" | vtm
    
    Set red cursor in settings.xml:
    <config>
      <term>
        <cursor>
          <style="block"/> <!-- Cursor style: underline | block -->
          <blink=400ms/>       <!-- Cursor blink period. Set to zero for a steady cursor. -->
          <show=true/>
          <color bgc=reddk fgc=default /> <!-- Cursor cell color. By default, the cursor color (bgc) is set to either black or white depending on the lightness of the underlying text background. -->
        </cursor>
      </term>
    </config>
  • Make the terminal window opaque by default.
  • Make window shadow configurable:
    <config>
      <appearance>
        <defaults>
          <shadow> <!-- Window shadow configuration. -->
            <enabled = true />
            <blur = 3 />         <!-- Blur radius (in cells). Default is 3. -->
            <bias = 0.37 />      <!-- Shadow contour bias [0.0 - 1.0]. Default is 0.37 -->
            <opacity = 105.5 />  <!-- Opacity level (alpha) [0.0 - 255.0]. Default is 105.5 -->
            <offset = 2,1 />     <!-- 2D offset relative to the window (in cells). Default is 2,1. -->
          </shadow>
        </defaults>
      </appearance>
    </config>

Don't miss a new vtm release

NewReleases is sending notifications on new releases.