Comments (7)
Thanks, I have not yet tried 2.0.3, I will do that next. At the moment, I am still trying to find out what caused the unicode background routine in ncurses to stop working (issue #28).
from croatoan.
from croatoan.
from croatoan.
just define and call, befoe `initscr', the setlocale
Thanks for finding that out, this essentially solves the issue.
probably a better solution needs to be planned.
Why? The call to setlocale is the recommended way to properly start ncurses. From the man page:
The library uses the locale which the calling program has initialized.
That is normally done with setlocale:
setlocale(LC_ALL, "");
If the locale is not initialized, the library assumes that characters are
printable as in ISO-8859-1, to work with certain legacy programs.
You should initialize the locale and not rely on specific details of the
library when the locale has not been setup.
Until now, we have simply relied on SBCL doing this for us by default, now we have to do it manually, as every other ncurses app.
from croatoan.
from croatoan.
I've pushed a commit adding a call to setlocale to the initialization of screen objects. For direct ncurses calls, you will have to setlocale manually every time, but that's intended.
For me this solves the issue, can it be closed?
from croatoan.
from croatoan.
Related Issues (20)
- Rate limiting key presses? HOT 2
- Keypresses dropped when using remote swank connection HOT 3
- Missing a way to check if a window was deleted HOT 3
- Question build a cli interface using croatoan HOT 2
- wrong information in docstring HOT 2
- Compile /src/util.lisp HOT 2
- Issue with wbkgrnd when upgrading from ncurses 6.1 to 6.2 HOT 13
- Does not build - ncurses issue HOT 2
- support for 24bit color HOT 6
- Missing 'raise-to-top' HOT 6
- Fitting message text in a dialog-window changed HOT 3
- proposing for some helpers function for complex-string HOT 4
- Last char drawn to menu choice to not be last char of string HOT 2
- Class hierarchy and naming of position slots/accessors HOT 7
- Foreign library definitions missing for MS Windows HOT 3
- [help] Using mouse event with bind HOT 19
- Documentation HOT 4
- Tags and releases HOT 11
- Lisp warnings rendered in ncurses application after connecting to the REPL HOT 6
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 croatoan.