-
Notifications
You must be signed in to change notification settings - Fork 77
Description
I implemented an experimental option to use ghostty-web as the core terminal emulator for DomTerm. In fact, you can run one terminal using ghostty-web (lower left), one terminal using xterm.js (lower right), and one term using "DomTerm classic" (top) - all at once:
You can drag the sub-windows around, including to other top-level windows, or to the desktop. Here the ghosttty-web sub-window was dragged out to the desktop.
If you want to try it, clone this and:
cd DomTerm
./autoreconf -i
./configure --with-ghostty=/path/to/ghostty-web
make
bin/domterm ghostty=true
To display the terminal, DomTerm supports Electron, Qt, Tauri/Wry, as well as generic web-browers.
There are various problems, of course. One is it would be nice to control mouse right-click, and to handle custom keystrokes. I get some ugly hortizonal lines on Electron - perhaps a font metrics problem. Another is that without full serialization support drag-and-drop might only work within a single top-level window, though cross-window dragging should work if using the Qt or Electron front-ends.