HyperDbg Debugger
Loading...
Searching...
No Matches
cls.cpp File Reference
#include "pch.h"

Functions

VOID CommandClsHelp ()
 help of the .cls command
VOID CommandCls (vector< CommandToken > CommandTokens, string Command)
 .cls command handler

Function Documentation

◆ CommandCls()

VOID CommandCls ( vector< CommandToken > CommandTokens,
string Command )

.cls command handler

Parameters
CommandTokens
Command
Returns
VOID
37{
38 if (CommandTokens.size() != 1)
39 {
40 ShowMessages("incorrect use of the '%s'\n\n",
41 GetCaseSensitiveStringFromCommandToken(CommandTokens.at(0)).c_str());
43 return;
44 }
45
46 system("cls");
47}
VOID CommandClsHelp()
help of the .cls command
Definition cls.cpp:20
std::string GetCaseSensitiveStringFromCommandToken(CommandToken TargetToken)
Get case sensitive string from command token.
Definition common.cpp:467

◆ CommandClsHelp()

VOID CommandClsHelp ( )

help of the .cls command

Returns
VOID
21{
22 ShowMessages(".cls : clears the screen.\n\n");
23
24 ShowMessages("syntax : \t.cls\n");
25}