Sync push
This commit is contained in:
parent
af2ceb5e24
commit
4fcd89effd
3 changed files with 32 additions and 34 deletions
|
|
@ -4,7 +4,7 @@ detect_package_manager() {
|
||||||
if [[ -f /etc/os-release ]]; then
|
if [[ -f /etc/os-release ]]; then
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
case "$ID" in
|
case "$ID" in
|
||||||
arch|manjaro|endeavouros|garuda)
|
arch|manjaro|endeavouros|garuda|cachyos)
|
||||||
echo "pacman"
|
echo "pacman"
|
||||||
;;
|
;;
|
||||||
ubuntu|debian|linuxmint)
|
ubuntu|debian|linuxmint)
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,7 @@ namespace dragon
|
||||||
else
|
else
|
||||||
out.fg(ostd::ConsoleColors::Blue);
|
out.fg(ostd::ConsoleColors::Blue);
|
||||||
out.p(instHead.cpp_str());
|
out.p(instHead.cpp_str());
|
||||||
out.reset().reset();
|
out.reset();
|
||||||
colorizeInstructionBody(instBody, currentLine, labelList);
|
colorizeInstructionBody(instBody, currentLine, labelList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -253,7 +253,7 @@ namespace dragon
|
||||||
}
|
}
|
||||||
if (specialSection)
|
if (specialSection)
|
||||||
out.fg(ostd::ConsoleColors::Cyan).p(_da.code.cpp_str()).nl();
|
out.fg(ostd::ConsoleColors::Cyan).p(_da.code.cpp_str()).nl();
|
||||||
colorCodeInstructions(_da.code, currentLine, debugger.labels);
|
colorCodeInstructions(_da.code, currentLine, debugger.labels);
|
||||||
out.reset();
|
out.reset();
|
||||||
}
|
}
|
||||||
Utils::printFullLine('#', ostd::ConsoleColors::Black, ostd::ConsoleColors::Yellow);
|
Utils::printFullLine('#', ostd::ConsoleColors::Black, ostd::ConsoleColors::Yellow);
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
#include <ostd/File.hpp>
|
#include <ostd/File.hpp>
|
||||||
#include <ostd/Serial.hpp>
|
#include <ostd/Serial.hpp>
|
||||||
|
|
||||||
#include "../tools/Utils.hpp"
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
namespace dragon
|
namespace dragon
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue