wcmd: some features/bug fixes
mike at codeweavers.com
Thu Jun 8 20:40:39 CDT 2006
Anoni Moose wrote:
> * programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c,
> wcmd: Clear terminal screen using escape code.
> -Fix infinite file-read loop with TYPE command.
> -TITLE command use terminal escape code.
> -Added FREEDISK command.
Please send one patch per email. The patch should be standalone.
+ /* Clear the _terminal_ screen by giving the correct terminal
escape code. */
+ printf("%cc", 0x1B);
You can't assume that you'll be using any sort of terminal here. If the
backend is wineconsole or a non-xterm/vt100 terminal, then this won't
work. You have to use the Win32 API.
More information about the wine-patches