Comments (4)
goncurses is not configured to allow for UTF-8. First, you need to make sure the locale is set correctly (out of scope of this project) and second, goncurses would need to be linked against lncursesw
for the wide character version of the library. You should be able to clone this repo and make those changes to try it.
I think there may be a case to be made to link to the wide character library by default since Go supports utf-8 out of box.
from goncurses.
You should be able to clone this repo and make those changes to try it.
Yep. Already do in https://github.com/vit1251/goncurses
I change name on go-ncursesw
later to avoid search engine is ambiguous results by name.
from goncurses.
Rename complete in https://github.com/vit1251/go-ncursesw
from goncurses.
I've added a wiki page detailing what may be necessary for others who are also looking for UTF-8 support. https://github.com/rthornton128/goncurses/wiki/Internationalization-(I18n)
from goncurses.
Related Issues (20)
- how can I use stdscr.Print() from a function other than "main" HOT 2
- Is "def_prog_mode()" implemented?
- Esc key and set_escdelay HOT 3
- How to make the libncurse dependency version independent ? HOT 2
- UTF-8 support HOT 3
- Thread safety HOT 2
- Build fails with "invalid flag in pkg-config" HOT 6
- Update wiki about KEY_RESIZE HOT 1
- go build issue HOT 1
- Compilation error when using REQ_LEFT
- pkgconfig problem HOT 8
- invalid flag in pkg-config HOT 1
- Convert project to Go mods
- Resizing without reinitializing?
- LINES and COLS? HOT 2
- About window scrolling HOT 2
- Examples fail to build: int is not MenuDriverReq
- Go get with M1 mac fails HOT 6
- Changing colors within MenuItems HOT 1
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 goncurses.