Why Nostr? What is Njump?
2024-05-27 09:40:56

zygoon on Nostr: During the last Canonical engineering sprint someone mentioned it is possible to know ...

During the last Canonical engineering sprint someone mentioned it is possible to know if a terminal has light or dark a background and adjust colors to match, so that application text remains readable.

Yesterday I took a stab at this and implemented a trivial crude version that works on both MacOS terminal and GNOME terminal, but not the Windows terminal.

Here you can see it work both locally and across ssh to another OS and CPU architecture.

Author Public Key
npub1zkgvmg0hr7hxf2yznxvfdkq03s4cj3t0cn0l7vzmjv4w8kvx5vlq0pmzx5