Text-based desktop environment
MIT License
Bot releases are visible (Hide)
Published by o-sdn-o 4 months ago
Changes (release for testing window rendering in GUI mode, win32 only)
<config>
<gui> <!-- GUI related settings. (win32 platform only for now) -->
<antialiasing = off /> <!-- Antialiasing of rendered glyphs. Note: Multi-layered color glyphs such as emoji are always antialiased. -->
<cellheight = 20 /> <!-- Text cell height in physical pixels. Note: The width of the text cell depends on the primary font (the first one in the font list). -->
<gridsize = 0,0 /> <!-- Window initial grid size in text cells. -->
<wincoor = 0,0 /> <!-- Window initial coordinates (top-left corner on the desktop in physical pixels). -->
<winstate = undefined /> <!-- Window initial state: undefined | maximized | minimized -->
<fontlist> <!-- Font fallback list (LF-delimited (\n), ordered). The rest of the fonts available in the system will be loaded dynamically. -->
"Courier New\n" <!-- Primary font. Its metrics define the cell geometry. -->
"Iosevka Term\n"
"JetBrains Mono\n"
"Cascadia Mono\n"
"DejaVu Sans Mono\n"
"Envy Code R\n"
"Fira Code\n"
"monofur for Powerline\n"
"Lucida Console\n"
"Consolas\n"
"Anonymous Pro\n"
"Source Code Pro\n"
"NSimSun\n"
"Noto Sans Devanagari\n"
</fontlist>
<testtext="test \e[41;94m UTF-8 \e[m string 👌︌︉︅😃👌︋︅ (See ~/.config/vtm/settings.xml: /config/gui/testtext/)"/>
</gui>
</config>
Note: vtm automatically switches to the graphical mode if it is launched by the graphical shell (explorer.exe), or by the
start vtm.exe
command (e.g. on Windows Core).
Published by o-sdn-o 5 months ago
Changes
8x4 character matrix support
https://github.com/directvt/vtm/assets/11535558/60ce28bd-05e6-45e1-896a-a6b43fb05956
Published by o-sdn-o 6 months ago
Changes
New configurable menu button:
Action | Description |
---|---|
TerminalSelectionOneShot |
One-shot toggle to copy text while mouse tracking is active. Keep selection if Ctrl key is pressed.The data= attribute can have the following values none , text , ansi , rich , html , protected . |
Closes #588
~/.config/vtm/settings.xml
)<config>
<term>
<item label=" HTML " data=none type=Option action=TerminalSelectionOneShot>
<label="\e[48:2:0:128:128;38:2:0:255:255m HTML \e[m" data=html/>
<notes>
" One-shot toggle to copy as HTML \n"
" while mouse tracking is active. "
</notes>
</item>
<item label=" Text " data=none type=Option action=TerminalSelectionOneShot>
<label="\e[48:2:0:128:0;38:2:0:255:0m Text \e[m" data=text/>
<notes>
" One-shot toggle to copy as Text \n"
" while mouse tracking is active. "
</notes>
</item>
<item label="One-Shot" data=none type=Option action=TerminalSelectionOneShot>
<label="\e[48:2:0:128:0;38:2:0:255:0m Text \e[m" data=text/>
<label="\e[48:2:0:128:128;38:2:0:255:255m HTML \e[m" data=html/>
<notes>
" One-shot toggle to copy as Text/HTML \n"
" while mouse tracking is active. "
</notes>
</item>
</term>
</config>
https://github.com/directvt/vtm/assets/11535558/c8049348-72fe-40f9-b4f7-85621248b463
Published by o-sdn-o 6 months ago
Changes
config/menu/wide=on
). https://github.com/directvt/vtm/issues/584#issuecomment-2068393457Published by o-sdn-o 6 months ago
Changes:
config/term/layout/border
(=0 by default). #584:<config>
<term>
<layout>
<oversize=0 opacity=0xC0/> <!-- Scrollback horizontal (left and right) oversize. (for convenient horizontal scrolling). -->
<border=1/> <!-- Viewport's left and right border. -->
</layout>
</term>
</config>
config/term/fields
section renamed to config/term/layout
config/term/fields/size
option renamed to the config/term/layout/oversize
sectionconfig/term/fields/lucent
option renamed to config/term/layout/oversize/opacity
Published by o-sdn-o 6 months ago
Changes
start vtm.exe
command (e.g. on Windows Core).Published by o-sdn-o 7 months ago
Changes
Published by o-sdn-o 7 months ago
Changes
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>
<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>
Published by o-sdn-o 7 months ago
v0.9.75b
Changes
<config>
<term>
<color>
<bground = transparent /> <!-- Independent background color of the scrollback canvas. Set to 0x00ffffff(default) to sync with SGR49 (default background). -->
</color>
</term>
</config>
Published by o-sdn-o 7 months ago
Changes
<config>
<term>
<color>
<bground = transparent /> <!-- Independent background color of the scrollback canvas. Set to 0x00ffffff(default) to sync with SGR49 (default background). -->
</color>
</term>
</config>
bgc=...
, fgc=...
, slimmenu=...
(use cfg=...
attribute instead).
echo "vtm.set(id=Azure label='Azure Terminal' type=dtvt cmd='vtm -r term' cfg='<config><term><color><default fgc=0xFFffff00 bgc=bluedk/></color></term></config>')" | vtm
printf "\e[48:2::255:255:255mWhite\e[m\n"
printf "\e[48:2:255:255:255mWhite\e[m\n"
Published by o-sdn-o 8 months ago
Changes
Published by o-sdn-o 8 months ago
Changes
Published by o-sdn-o 8 months ago
Changes (Windows only)
Published by o-sdn-o 8 months ago
Changes (Windows only)
Published by o-sdn-o 8 months ago
Changes (Windows only)
Published by o-sdn-o 8 months ago
Changes (Windows only)
PROMPT="$e]9;9;$P$e\$P$G"
Published by o-sdn-o 8 months ago
Changes
<config>
<term>
<cwdsync=" cd $P\n"/>
</term>
</config>
Now it is possible to configure the cwdsync command template, for example, make it without prefixed whitespace to be compatible with Far Manager (https://github.com/FarGroup/FarManager/issues/798):echo "vtm.run(id=Term cfg='<config><term cwdsync=`"cd `$P\n`"/></config>')" | vtm
https://github.com/FarGroup/FarManager/assets/11535558/7070f3ce-9603-48ca-b237-dbfe188ea7ae
Published by o-sdn-o 8 months ago
Changes
cd
command with a space to avoid command history when synching cwd.Published by o-sdn-o 8 months ago
Changes
cd
to always change the drive:
C:\Temp> cd d:\temp
d:\temp> _
Published by o-sdn-o 8 months ago
Changes
CWD Sync
activation (OSC9;9):
PROMPT $e]9;9;$P$e\$P$G
function prompt{ $e=[char]27; "$e]9;9;$(Convert-Path $pwd)$e\PS $pwd$('>' * ($nestedPromptLevel + 1)) " }
export PS1='\[\033]9;9;\w\033\\\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '