Releases: directvt/vtm
Releases · directvt/vtm
v0.9.99.20
v0.9.99.19
v0.9.99.18
Changes
- Allow to specify a configuration file source list. See the updated
settings.md
for details. - Allow to use environment variable
$VTM_CONFIG
to specify configuration source. It is acting like the--config <...>
CLI option but with a lower precedence.
v0.9.99.17
v0.9.99.16
Changes
- Try to fix command line arguments escaping.
Test case 1.run in command prompt
:Test case 2.vtm -r term pwsh -Command "& { gci | % { \"`\"Item: $_`\"\" }}; exit 1"
run in command prompt
:vtm -r term cmd /k echo "Hello, ""world!"""
- The special case when the
cmd.exe
is used: after tokenization, arguments are simply concatenated with spaces between (without additional escaping).
v0.9.99.15
Changes
- Try fixing the nested quotes issues (sorry for so many bugs and broken releases).
Breaking changes
- Backslashes
\
must be escaped everywhere in the configuration.
Example.settings.xml
:<config> <desktop> <taskbar> <item id="Terminal\\Console" type=dtvt cmd="$0 -r term c:\\windows\\system32\\cmd.exe"/> </taskbar> </desktop> </config>
v0.9.99.14
Changes
- Fix recursive escaping (Nested quotation).
Test case 1.command-line
:Test case 2.vtm -t -c "<config/term/sendinput=\"vtm -t -c \\\"<config/term/sendinput=\\\\\\\"echo \\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\\"\\\\\\\"/>\\\" -r term\"/>" -r term
command-line
:vtm -t -c "<config/term/sendinput='echo \'test\''/>" -r term
v0.9.99.13
Changes
- Fix cli mode abracadabras.
vtm -?
:... Syntax: "<command>([<args...>])[; <command>([<args...>]); ... <command>([<args...>])]" Command Γöé Description ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ vtm.run([<attrs...>]) Γöé Create and run a menu item constructed using Γöé a space-separated list of <attr>=<val>. Γöé Run a temporary menu item constructed using Γöé default attributes if no arguments specified. ...