-
Notifications
You must be signed in to change notification settings - Fork 1
Home
sami2020pro edited this page Dec 14, 2020
·
4 revisions
All features of polor library
Version 1
import 'polor.pashm'
use polor
# Base attributes
println $Reset + 'Pashmak' + $Reset
println $Bold + 'Pashmak' + $Reset
println $Faint + 'Pashmak' + $Reset
println $Italic + 'Pashmak' + $Reset
println $Underline + 'Pashmak' + $Reset
println $BlinkSlow + 'Pashmak' + $Reset
println $BlinkRapid + 'Pashmak' + $Reset
println $ReverseVideo + 'Pashmak' + $Reset
println $Cancealed + 'Pashmak' + $Reset
println $CrossedOut + 'Pashmak' + $Reset
# Foreground text colors
println $FgBlack + 'Pashmak' + $Reset
println $FgRed + 'Pashmak' + $Reset
println $FgGreen + 'Pashmak' + $Reset
println $FgYellow + 'Pashmak' + $Reset
println $FgBlue + 'Pashmak' + $Reset
println $FgMagenta + 'Pashmak' + $Reset
println $FgCyan + 'Pashmak' + $Reset
println $FgWhite + 'Pashmak' + $Reset
# Foreground Hi-Intensity text colors
println $FgHiBlack + 'Pashmak' + $Reset
println $FgHiRed + 'Pashmak' + $Reset
println $FgHiGreen + 'Pashmak' + $Reset
println $FgHiYellow + 'Pashmak' + $Reset
println $FgHiBlue + 'Pashmak' + $Reset
println $FgHiMagenta + 'Pashmak' + $Reset
println $FgHiCyan + 'Pashmak' + $Reset
println $FgHiWhite + 'Pashmak' + $Reset
# Background text colors
println $BgBlack + 'Pashmak' + $Reset
println $BgRed + 'Pashmak' + $Reset
println $BgGreen + 'Pashmak' + $Reset
println $BgYellow + 'Pashmak' + $Reset
println $BgBlue + 'Pashmak' + $Reset
println $BgMagenta + 'Pashmak' + $Reset
println $BgCyan + 'Pashmak' + $Reset
println $BgWhite + 'Pashmak' + $Reset
# Background Hi-Intensity text colors
println $BgHiBlack + 'Pashmak' + $Reset
println $BgHiRed + 'Pashmak' + $Reset
println $BgHiGreen + 'Pashmak' + $Reset
println $BgHiYellow + 'Pashmak' + $Reset
println $BgHiBlue + 'Pashmak' + $Reset
println $BgHiMagenta + 'Pashmak' + $Reset
println $BgHiCyan + 'Pashmak' + $Reset
println $BgHiWhite + 'Pashmak' + $Reset
# Other examples
println $BgHiRed + $FgBlue + $Italic + 'Pashmak' + $Reset
println $BgCyan + $BlinkSlow + 'Pashmak' + $Reset
Version 2
import 'polor.pashm'
use polor
# Escape
# println $escape + 'PPashmak' # warning: if remove comment other option not work !
# Base attributes or ba
println $ba->Reset + 'Pashmak' + $ba->Reset
println $ba->Bold + 'Pashmak' + $ba->Reset
println $ba->Faint + 'Pashmak' + $ba->Reset
println $ba->Italic + 'Pashmak' + $ba->Reset
println $ba->Underline + 'Pashmak' + $ba->Reset
println $ba->BlinkSlow + 'Pashmak' + $ba->Reset
println $ba->BlinkRapid + 'Pashmak' + $ba->Reset
println $ba->ReverseVideo + 'Pashmak' + $ba->Reset
println $ba->Cancealed + 'Pashmak' + $ba->Reset
println $ba->CrossedOut + 'Pashmak' + $ba->Reset
# Foreground text colors or ftc
println $ftc->Black + 'Pashmak' + $ba->Reset
println $ftc->Red + 'Pashmak' + $ba->Reset
println $ftc->Green + 'Pashmak' + $ba->Reset
println $ftc->Yellow + 'Pashmak' + $ba->Reset
println $ftc->Blue + 'Pashmak' + $ba->Reset
println $ftc->Magenta + 'Pashmak' + $ba->Reset
println $ftc->Cyan + 'Pashmak' + $ba->Reset
println $ftc->White + 'Pashmak' + $ba->Reset
# Foreground Hi-Intensity text colors or fhitc
println $fhitc->HiBlack + 'Pashmak' + $ba->Reset
println $fhitc->HiRed + 'Pashmak' + $ba->Reset
println $fhitc->HiGreen + 'Pashmak' + $ba->Reset
println $fhitc->HiYellow + 'Pashmak' + $ba->Reset
println $fhitc->HiBlue + 'Pashmak' + $ba->Reset
println $fhitc->HiMagenta + 'Pashmak' + $ba->Reset
println $fhitc->HiCyan + 'Pashmak' + $ba->Reset
println $fhitc->HiWhite + 'Pashmak' + $ba->Reset
# Background text colors or btc
println $btc->Black + 'Pashmak' + $ba->Reset
println $btc->Red + 'Pashmak' + $ba->Reset
println $btc->Green + 'Pashmak' + $ba->Reset
println $btc->Yellow + 'Pashmak' + $ba->Reset
println $btc->Blue + 'Pashmak' + $ba->Reset
println $btc->Magenta + 'Pashmak' + $ba->Reset
println $btc->Cyan + 'Pashmak' + $ba->Reset
println $btc->White + 'Pashmak' + $ba->Reset
# Background Hi-Intensity text colors
println $bhitc->HiBlack + 'Pashmak' + $ba->Reset
println $bhitc->HiRed + 'Pashmak' + $ba->Reset
println $bhitc->HiGreen + 'Pashmak' + $ba->Reset
println $bhitc->HiYellow + 'Pashmak' + $ba->Reset
println $bhitc->HiBlue + 'Pashmak' + $ba->Reset
println $bhitc->HiMagenta + 'Pashmak' + $ba->Reset
println $bhitc->HiCyan + 'Pashmak' + $ba->Reset
println $bhitc->HiWhite + 'Pashmak' + $ba->Reset
# Other examples
println $bhitc->HiRed + $ftc->Blue + $ba->Italic + 'Pashmak' + $ba->Reset
println $btc->Cyan + $ba->BlinkSlow + 'Pashmak' + $ba->Reset