Comments (4)
yeah, i've thought about this. the problem is that it's really hard to indicate to the caller that there were elided glyphs, or where they were. perhaps an option, though...?
from notcurses.
The problem with stopping at prohibited unicode is that I will have to sanitize the string myself before passing to notcurses, which would duplicate the utf8 checks.
Maybe an option would be good. Maybe you can also consider putting all the alignment and styling options in an option struct? This would be a breaking change tho. Just a random suggestion.
from notcurses.
yep, something like that. i'm pondering what to do. open to suggestions!
from notcurses.
i feel this would be a toplevel option rather than a per-call deal.
from notcurses.
Related Issues (20)
- Resizing window causes ghost characters to remain HOT 9
- Builtin way to get "topmost plane containing coordinates"? HOT 6
- Non-user generated inputs on startup
- `ncplane_putnstr` doesn't fully respect the maximum number of bytes HOT 18
- amata_next diagnostics on startup
- input byte-limited versions of output functions HOT 6
- USAGE.md references non-existing constant `NC_FG_ALPHA_MASK` HOT 2
- Add node wrappers for node cli tools to use
- Add an option to disable the kitty background color avoidance feature
- API feels gimped, need ncplanes without parents HOT 2
- Potential memory access overflow in utf8_egc_len HOT 6
- Check for <= 0 sorta fails because of unsigned int / int mismatch HOT 4
- add support for win32-input-mode HOT 6
- ncplane_puttext causes infinite plane resizing HOT 7
- fix up problems highlighted by clang-tidy-15
- parent not updating dimension when child forces parent to grow HOT 1
- notcurses-demo run under valgrind with early exit requires ctrl+c HOT 1
- How to hide an ncvisual object HOT 12
- Why newline character isn't printed.
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 notcurses.