Git Product home page Git Product logo

Comments (6)

jtagcat avatar jtagcat commented on September 21, 2024 1

Reading right after, and last created both have the problem of assuming non-async. While almost everything we are talking here are made to be async. You can't assume you're the only process interacting with tabs.

from tabfs.

osnr avatar osnr commented on September 21, 2024

Yeah. I'm not sure how exactly we could do that with the current create file setup (you read it right afterward?); might need to change approach.

Maybe you can make a tab file or folder in a create directory and then read it to get the ID, or it immediately turns into a symlink to the new tab, or something. Or there's a synthetic file ./create which is actually an executable you can run that outputs the tab ID.

from tabfs.

JinchengWang avatar JinchengWang commented on September 21, 2024

How about a last_created_tab file containing the last created tab id?

from tabfs.

osnr avatar osnr commented on September 21, 2024

We could make it so that if you read it right afterward from the same file handle, you get the result (each caller would open it with a different handle). I don't know if that would be usable from normal command line tools, though.

btw, there are also a bunch of options that it would be nice to support if we end up rethinking the way create works

from tabfs.

JinchengWang avatar JinchengWang commented on September 21, 2024

BTW it would be nice to support windows.create as well. Similar user interfaces might work in both cases.

from tabfs.

jtagcat avatar jtagcat commented on September 21, 2024

I know it might be a bad idea, a fs is nice and everything.

..but what about exposing the browser with solid commands first, and then give the ability to mount it?

It seems counterproductive to do it the other way around.

from tabfs.

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.