Comments (3)
Hello,
the gray streams interface which allows windows to be treated as streams allows you to use the standard function "open-stream-p":
"It is true if its argument (which must be a stream) is open, and otherwise is false. A stream is always created open; it remains open until closed with the close function."
Which is exactly what youre looking for.
Sadly, it does not work in the current code yet. I never used open-stream-p myself before, so I have not tested it properly. Fortunately, it seems to be very easy to fix, and I will push the fix to the repository in the next few days.
from croatoan.
Sounds good, thank you!
from croatoan.
close now sets a flag for open-stream-p to test whether windows have been closed.
It for now works only for window objects, not for its subclasses. I have to look more closely how to pass this flag to the subclasses efficiently.
from croatoan.
Related Issues (20)
- 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
- apparently unicode support was lost with sbcl 2.0.3 HOT 7
- 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
- #\horizontal_ellipsis is not recognized by some implementations HOT 2
- Compilation issue with last commit HOT 3
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.