Comments (5)
Great idea, I'll do it :-)
from termshark.
Hi - I've pushed a new branch called "darkmode". Would you be willing to give it a try? You should be able to compile it up like this:
git clone https://github.com/gcla/termshark
cd termshark
git checkout origin/darkmode
export GO111MODULE=on
go install -ldflags="-X github.com/gcla/termshark.Version=1.0.0+" ./...
Then termshark will be in ~/go/bin/
.
You can run it like this:
termshark ... --dark-mode
Or set it permanently in the "main" section of XDG_CONFIG_HOME/termshark.toml
:
[main]
dark-mode = true
You can also toggle it in the running application itself via the menu button.
I hope it looks okay when the terminal supports >= 256 colors (e.g. TERM=xterm-256color
) or just 8 colors (e.g. TERM=xterm
). Let me know how it looks, what UI elements you'd like altered, etc :-)
from termshark.
Verified working, Macos 10.14 via both command flag and menu item.
from termshark.
I think dark theme should be default IMO.
from termshark.
Hi @kutsan - I merged this back to master, and made the in-app toggle (via menu->d) persist the setting to the config file. So making dark-mode the persistent default can be done quickly without editing a config file.
from termshark.
Related Issues (20)
- Consider using sharkd when it's available
- Consider SIP callflow HOT 7
- New installation fails to launch HOT 1
- Guide for performing a termshark upgrade to latest version
- help
- doesn't work: The termshark UI will start when packets are detected on eth0... HOT 4
- Support decrypting HTTPS/TLS traffic via SSLKEYLOGFILE
- pkg/system/dumpcapext.go build constraints are not specific enough
- Go to packet
- Invisible packets list HOT 2
- panic: runtime error: index out of range [70] with length 70
- High CPU usage when scrolling, or when a lot of packets get received
- Wierd UI looking
- Error starting UI: character set not supported
- Vulnerability of dependency "golang.org/x/net" HOT 2
- [Packet Index, Packet Data] Pair do not match what is seen in Wireshark form Exported PCap file.
- Use Croc in lieu of Wormhole?
- Support vi-style binds in copy mode
- Unable to Quit (from long-running sessions) HOT 1
- Easy transparent background support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termshark.