BoettcherDasOriginal / LeoConsole

LeoConsole is a terminal with many features! It allows you to quickly and easily program smaller or larger console functions or use those of others. It is written in C# 10 under .NET 6
GNU General Public License v3.0
2 stars 0 forks source link

[Feature request] API extension: different message types #44

Closed alexcoder04 closed 2 years ago

alexcoder04 commented 2 years ago

Description

Functions like MessageErr0(), MessageWarn1(), ... available in the standard plugin API. Now they are implemented inside apkg: https://github.com/alexcoder04/LeoConsole-apkg/blob/main/Utils/output.cs#L7

The message format is similar to the output of Arch Linux tools like pacman and makepkg.

Intended Use-Case

Providing uniformed output in all plugins.

Additional context

Functions:

void MessageInfoC() { }
void MessageSucC() { }
void MessageWarnC() { }
void MessageErrC() { }
void MessageInfo0() { }
void MessageSuc0() { }
void MessageWarn0() { }
void MessageErr0() { }
void MessageInfo1() { }
void MessageSuc1() { }
void MessageWarn1() { }
void MessageErr1() { }