chjj / tty.js

A terminal for your browser, using node/express/socket.io
MIT License
4.19k stars 480 forks source link

Tabbed layout #41

Open trans opened 12 years ago

trans commented 12 years ago

A tabbed layout would suite me better than a free-floating windows. Don't much care for having windows in windows. is there or could there me a mode for that?

chjj commented 12 years ago

You can always maximize one window, and just use tabs from there.

trans commented 12 years ago

True. But it would be nice if there were a way to start it up maximized.

Mainly though, I'd like to tabs that weren't just dots, but actually showed the current shell prompt.

chjj commented 12 years ago

I originally wanted tty.js to be a kind of tiling window manager, but I found making everything stacking/floating was actually easier in the world of the browser. Making the frontend more extensible should be a goal. I've tried adding features in that area. You can hook into pretty much any event and change a lot of things right now, but not everything.

Mainly though, I'd like to tabs that weren't just dots, but actually showed the current shell prompt.

Yeah, I tried to keep it minimalist. The text would probably almost always get truncated by the width of the window. It didn't seem worth it at the time. I don't know if I would add it if anyone gets a nice working implementation of it. Maybe.