[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 496: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4835: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3950)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4837: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3950)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4838: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3950)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4839: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3950)
Tux LT | Linux forumas • Temos rodymas - Terminalo spalvos

Terminalo spalvos

Terminalo spalvos

Standartinė MKas » 2013-11-30 12:43:29

Štai terminalo spalvų kodai tiems kas programuoja ar nori kitaip paspalvinti savo terminalą:

juoda - 30
raudona - 31
žalia - 32
ruda - 33
mėlyna - 34
purpurinė - 35
žydra - 36
šviesiai pilka - 37


"\033[" panaudojimas:
Šis kodas valdo konsolės žymeklį.

* 'm' simbolis kiekvienos išraiškos pabaigoje naudojamas kaip pabaigos simbolis pranešantis sistemai kurioje vietoje sustoti ir panaudoti \033[ sintaksę.

\033[0m - numatyta konsolės spalva
\033[0;#m - spalvotas tekstas, kur # yra anksčiau paminėtas spalvos kodas
\033[1m - padaro tekstą paryškintą
\033[1;#m - padaro spalvotą tekstą paryškintą
\033[2;#m - nuspalviną tekstą truputėli tamsiau
\033[4;#m - nuspalvina ir pabraukia tekstą
\033[7;#m - nuspalvina foną
\033[9;#m - nuspalvina ir nubraukia tekstą
\033[A - perkelią žymeklį viena eilute aukščiau (dėmesio: tai neištrina ankstesnės eilutės)
\033[B - perkelią žymeklį viena eilute žemyn
\033[C - perkelią žymeklį viena vieta į dešinę
\033[D - perkelią žymeklį viena vieta į kairę

\033[2K - ištrina viską prieš šią eilutę.

Informacija paimta iš
Vartotojo avataras
MKas
Site Admin
 
Pranešimai: 122
Užsiregistravo: 2010-08-09 13:49:06
Miestas: Lithuania, Vilnius

Grįžti į Įvairūs

Dabar prisijungę

Vartotojai naršantys šį forumą: Registruotų vartotojų nėra ir 0 svečių

cron

x