Khanyisa umugqa womyalo weWindows

I-Windows Command Prompt eyedelelayo ingathuthukiswa ngokubonakalayo ngezinyathelo ezimbalwa ezilula. Ngakho-ke awukwazi kuphela ukulungisa umbala nosayizi womugqa womyalo, kepha futhi uwukhulise ngokusebenza (ukwandisa i-buffer, ukufaka isethi enkulu yamathuluzi we-UNIX). Yize i-Prompt yomyalo ingasondeli ku- PowerShell 6.0 noma entsha Windows 10 iBash Shell , ayidingi ukufihla imisebenzi yansuku zonke.


Ezakhiweni, usayizi we-buffer unyuselwa ku-500:

Khanyisa umugqa womyalo weWindows

Bese ukhetha usayizi wefonti we-14, ifonti "Consolas" nezinhlamvu "ezinesibindi".

Khanyisa umugqa womyalo weWindows

Usayizi wewindi (ububanzi nokuphakama) nakho kungakhushulwa:

Khanyisa umugqa womyalo weWindows

Ekugcineni, ulungisa imibala yombhalo wewindi (R: 0, G: 255, B: 0) nesizinda sewindi (R: 0, G: 0, B: 0):

Khanyisa umugqa womyalo weWindows

Kufanele uphinde lezi zilungiselelo kabili (kanye nge-Prompt yomyalo ngaphandle kwamalungelo omphathi kanye ne-Prompt yomyalo ngama-akhawunti womlawuli).

Umyalo usiza ukuthola i-Prompt enemibala (isb.obomvu obomvu):

prompt $E[91m$P$G$E[92m

I- $ E imele umlingiswa we-ESC (oqala ukulandelana kokuphunyuka), [91m ngekhodi yombala we-prompt (kulokhu kubomvu okukhanyayo), $ P wendlela, $ G ngohlamvu lwe - ">". $ E [92m isetha umbala wombhalo olandelayo ubuyele kokuluhlaza okukhanyayo.

Khanyisa umugqa womyalo weWindows

Ukuqinisekisa ukuthi i-Prompt ihlala unomphela kumbala ohlukile, ifayela le-batch elinokuqukethwe lenziwa ku-% AppData% \ prompt.bat, isibonelo

prompt $E[91m$P$G$E[92m
CLS

naku-HKEY_CURRENT_USER \ SOFTWARE \ MICROSOFT \ Command Processor kwakha inani lohlobo "REG_EXPAND_SZ" enegama "AutoRun" kanye nevelu "% AppData% \ prompt.bat".

Ngokufaka i-CYGWIN (ngawo wonke amaphakheji) nokusetha indlela C: \ cygwin64 \ bin ekuguqukeni kwemvelo kwe-PATH, uthola umuzwa omncane we-Linux:

Khanyisa umugqa womyalo weWindows

Emuva