Giter Site home page Giter Site logo

Comments (8)

curiousdannii avatar curiousdannii commented on June 19, 2024

Thanks!

Is it necessary to make the main window closeable while others remain open?

Actually, while that would be possible with glk, FW's spawning relation is different - sibling windows become children. So closing the main window will automatically close all the others.

from extensions.

ektemple avatar ektemple commented on June 19, 2024

I don't think it's necessary: if you didn't want the main window's behavior, you could close it and then open something else. But all this means adding another abstraction, e.g. the root window object.

from extensions.

curiousdannii avatar curiousdannii commented on June 19, 2024

If the properties of the main window can be changed then there shouldn't be any need to have an alternative root object. Or would a root object make graphics windows easier? Are there any technical problems or interpreter inconsistencies with a pop over graphics window? Would you be happy with closing the main window, converting it to graphics, and opening it again?

When I was looking at the code yesterday I couldn't see any reason why the main window shouldn't be closeable - the main issue is that FW doesn't understand the status window, which I'm already going to fix.

from extensions.

ektemple avatar ektemple commented on June 19, 2024

I think being able to convert the main window to some other type and reopen it would probably be fine! (Of course, you should also be able to change the type before opening it if that were allowed.)

(My feeling is that zarf doesn't like popover windows much--see the intfiction discussion awhile back--and I think that the spec if undefined as to what should happen when a window pops over another.)

from extensions.

erkyrath avatar erkyrath commented on June 19, 2024

Reducing a window to zero height (which is what we're really talking about) is legal, but interpreters tend to get weird about input and scrolling when you put them into that state. My opinion is to avoid it where possible.

However, there are cases where you can't avoid it. Keeping scrollback is the big one.

from extensions.

curiousdannii avatar curiousdannii commented on June 19, 2024

This is now fixed!

However Inform doesn't seem to support requesting line input in a text grid window. But that's not a problem for FW to fix.

from extensions.

ektemple avatar ektemple commented on June 19, 2024

Great, congrats!

However, Inform definitely supports line input in a text grid window. The example "Terminal" from TWIOC did just that, and I'm quite certain it worked in both Zoom and Gargoyle at the least. I just tried it compiling against v13/130925 of FW, though, and it no longer works. I'm not sure why, or if FW is at fault, but it isn't a limitation of the I7/I6 library or of the VMs.

from extensions.

curiousdannii avatar curiousdannii commented on June 19, 2024

Okay, I'll figure it out then. I'm still yet to copy the TWIOC examples into FW, so they'll help me to ensure it gets fixed.

from extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.