pstop icon indicating copy to clipboard operation
pstop copied to clipboard

add themes from Windows Terminal

Open hl2guide opened this issue 4 months ago • 2 comments

For consistency please consider adding themes from Windows Terminal. e.g:

Image

hl2guide avatar Jul 16 '26 11:07 hl2guide

Hey Dean, thanks a lot for this suggestion, and for the screenshot showing exactly what you had in mind. Great idea, and honestly it makes pstop feel right at home on Windows.

This is now implemented and on master as of 703a972. All 16 Windows Terminal color schemes are included, taken straight from the palette definitions in the microsoft/terminal repo so the colors match exactly what you see in Windows Terminal itself:

  • CGA
  • Campbell
  • Campbell PowerShell
  • Dark+
  • Dimidium
  • IBM 5153
  • One Half Dark
  • One Half Light
  • Ottosson
  • Solarized Dark
  • Solarized Light
  • Tango Dark
  • Tango Light
  • Vintage
  • VSCode Dark Modern
  • VSCode Light Modern

That brings pstop to 23 schemes in total alongside the original htop ones. You can switch between them in F2 > Colors with the usual live preview, and the scheme list now scrolls smoothly since it grew quite a bit. Your choice persists in pstoprc as before.

This will ship with the next release. Thanks again for making pstop better!

psmux avatar Jul 17 '26 12:07 psmux

Verified on master today before closing: all 16 Windows Terminal schemes from 703a972 are present alongside the 7 original ones, 23 in total:

Default, Monochrome, Black Night, Light Terminal, Midnight Commander, Black on White, Dark Vivid, CGA, Campbell, Campbell PowerShell, Dark+, Dimidium, IBM 5153, One Half Dark, One Half Light, Ottosson, Solarized Dark, Solarized Light, Tango Dark, Tango Light, Vintage, VSCode Dark Modern, VSCode Light Modern.

There are unit tests pinning the count, unique names, index round-tripping, and the exact background palette values from the microsoft/terminal definitions, and they're green. F2 > Colors switches with live preview and the choice persists in pstoprc.

Closing as done; ships with the next release. Thanks again @hl2guide!

psmux avatar Sep 23 '26 08:09 psmux