A simple tool to report and change console modes for any accessible process. Run without arguments to see the mode for the current console. Supported arguments:
i+ / i-
→ Enable/disable VT input.o+ / o-
→ Enable/disable VT output.a+ / a-
→ Enable/disable VT input and output.i/o=xxxx
→ Set a custom mode (hex or names, 0x optional)-p pid
→ Attach to process identified bypid
.-h
→ Show help.-l
→ List valid input/output names and values.
Using the i/o=
option, names and values can be combined - see help for details.
Usage: hresult [-w] <result code>
.
Looks up the result code as an NTSTATUS
. If -w
is passed, it is tried as
an HRESULT
(DOS error).
Usage: conevents [-v] [-bv|-ba] [-e[fkmus]]
.
The -v
option sets virtual terminal input mode. -bv
and -ba
set up the
alternate buffer. -e
specifies which events to show.
Press Ctrl-C twice to exit.
Usage: darkmode
.
Usage: resize <pid>
.
Might not work.
Usage: scrollhook [-d]
.
Must be run from an administrator console.
Makes the selected key function as a toggle - when the key is held down, the mouse scroll wheel will send horizontal scroll messages.
The -d
option inverts the horizontal scroll direction.
See -h
for debug options.
Usage: istty -[p][ioe]
Using -p
causes y
/n
to be printed, otherwise the program returns 0 for
yes and 1 for no.
Also builds on Unix platforms.
mkccmds.js
Run with node.js to generatecompile_commands.json
.build.ps1
Run from a VS dev command prompt to build all (or selected) programs.