Comments (2)
Reverse, or change the background color, is what you probably want. If your icons are so large that there is no background showing through, then that's a different problem, and you'll want to use some other approach (such as an arrow indicator on the side.). (There should be enough background showing through for upperline to work anyway.)
Coloring underline is not generally possible, although some terminals might have some escape sequences for it. But normally it is just the foreground color.
As far as Upperline goes -- I didn't even know that was a thing. It might be something I could add later if desired. But I suspect very few terminals have support for it, so it's tricky to depend on that in an application unless you know you only have to support certain terminals or emulators.
from tcell.
Upperline is nothing technical, just a naive idea. ;)
I think the solution is not using reverse, but probably something with the background color indeed. Thanks for thinking with me.
from tcell.
Related Issues (20)
- set background of a row HOT 2
- cursor color HOT 2
- Focus event support for Windows console
- resize support for WASM mode HOT 2
- Modern XTerm CSI-u key reporting HOT 1
- `PollEvent()` returns `nil` when screen is suspended HOT 3
- Some emojis move entire line upwards when rendered at bottom of terminal HOT 1
- Support for NO_COLOR environment variable HOT 1
- views/app uses deprecated PostEventWait
- contentV not used in views/cellarea.go HOT 1
- Strikethrough no longer working HOT 2
- Wasm mode could support URLs
- Support for underline color HOT 1
- wasm could be smarter about spans HOT 1
- Add support for setting the window title
- runewidth package is out of date with wrong widths
- Confusing error message when run in linux vscode debug environment.
- Stopped working with tmux HOT 1
- Support for multi-rune character input HOT 2
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 tcell.