From 62c5c7194f0df6b67a7f0e421a58b118ed8bf49d Mon Sep 17 00:00:00 2001 From: FTS427 Date: Sat, 16 Dec 2023 20:48:03 +0800 Subject: [PATCH] C | Change some tui --- src/linux/MCT-Linux | Bin 0 -> 33288 bytes src/linux/MCT-Linux.cpp | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 src/linux/MCT-Linux diff --git a/src/linux/MCT-Linux b/src/linux/MCT-Linux new file mode 100755 index 0000000000000000000000000000000000000000..737ce6b433201d3bbf67d95412d9c0b4988cfa69 GIT binary patch literal 33288 zcmeHQ3wTt;*`7_Z1QFPvViBw^3d%L)1|kF_8*Z%t2JM4sgAlyuS$f|LL1 zamx^qSFu@+*Ow#tE%EZMg05n-9NA|598tbL5FHoEc5miNp-k#Y<|4VxQf{-9Q*ny4 zr;3$5Nk{q{DRHgwIFwNs$A1~K$}N&|)_9`iS25K=A+IG^(2@Fbq+Hodfn$x&3Nll% zs_$0FkzM}NAkE2gWqon`LE5uO#xzbS3@i4}9g#JxxL|0pzoc@}&_yFh3>}e`T2Y#s z!OKanH2hKbO`blJB~-B{qA7VBv+?|epixMWc~wrlm*9`gPV&D@-15Zb-ra}&HQEi; z?;d;To$Qv@NbKw|9;pkmOdlm=szNkJ+F?V&(=8nlj797Jr2%-IQnPCY474V^{$Om z?=x}gog4?JAP&7Mj-E7cocObbg>mXFiDQ4j$HXa)Q!iacoYqQ_?-7T8DB9J7^=8g; zA=C?e6y8C673bzCXCw72qI#G%2^h zNWy;5t+cqpC5V(VXnvID1+#o51;zia;icAwbKr9~e+KDXS^~7n{NNPW-sM^_!;?4C zlNZcLD=aNv=q)es_%R5)!BTXdcOF+UGv8mLwbZ}ZEZ$9k?2xqH&m7>~YoCzr%AJ~* zB}Qm*#gu zmDhVb!J_igg`VQld2nC8^77L14tH95hUcbY)Zr=e!<%B@YG(DD3788gZDEZ`o7Za|mGFZVdQ_%@5;0xpj%D{y3{P}R6 z^F4)Le=#eAyA2jHh*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T~(Um$M9#CcRGm*aVL-Xdp;s1ep6&d#m^vbmdDLS5oG+) zAeonul2g>@kub}v=Orq}?Zl{H9lx(gd1Zg~JWa)Ac&=g&*7{$!$gAg)Dn4r#M%r5c zK8t+OZ9+iB{VW2i{}k+p7WoHfixL&n^G0*9WLXOeX~@cH#?*Th>fCW_eJZcwGmxcc z$4XwkXR&b(hzN>L-+^f59ZiX1uu6>c^pZ}1HJc)M+>_BRlBHI*PU~UALl(H d{=4*tsz}wV@;#7 char q; -void hy(const char T[]){cout<<"欢迎使用"< "<> q; if(q == 'c' || q == 'C'){ clear(); @@ -223,7 +223,7 @@ int main(){ dash("\033[1;33m(5)\033[33m几何\033[0m"); dash("\033[0m(a)关于\033[0m"); dash("\033[1;33m(e)退出\033[0m"); - print("请键入所需功能:","white",false); + print("==> ","white",false); cin >> u; if (u=='1') calc(); @@ -239,9 +239,9 @@ int main(){ if (u=='A'||u =='a'){ clear(); line("=",20,"blue",true); - dash("MCT Preview v0.0.1.3-2"); + dash("MCT Preview v0.0.1.3-3"); dash("Made by QuantumLS-Studio"); - dash("Github:https://github.com/QuantumLS-Studio/MathCentralTool"); + dash("Url: https://github.com/QuantumLS-Studio/MathCentralTool"); line("=",20,"blue",true); } else