28 Commits

Author SHA1 Message Date
Kristian Høgsberg
12308a4997 Add color scheme support 2009-09-28 13:08:50 -04:00
Kristian Høgsberg
7e3e860031 terminal: trim unused headers. 2009-02-23 21:06:05 -05:00
Kristian Høgsberg
3c248cc9b6 Paint terminal cursor hollow when focus is lost. 2009-02-22 23:01:35 -05:00
Kristian Høgsberg
0208ed4c79 Don't close the pty master in forkpty child. 2009-02-22 22:30:10 -05:00
Kristian Høgsberg
b0b82e2eeb Draw terminal cursor. 2009-02-21 15:48:54 -05:00
Kristian Høgsberg
5544491240 Move keymap to window.c 2009-02-21 14:31:09 -05:00
Kristian Høgsberg
43c28eee32 Add a toy-display object that caches state.
This will be GdkDisplay for GTK+ on Wayland etc.  This restores
the terminal fullscreen mode.
2009-01-26 23:42:55 -05:00
Kristian Høgsberg
0ac16f056d Switch to cairo-drm, drop struct buffer hacks. 2009-01-16 07:49:07 -05:00
Kristian Høgsberg
94448c0ad7 Add listener interfaces for output and input_device objects. 2008-12-30 11:03:33 -05:00
Kristian Høgsberg
0395f30e65 Add a fullscreen mode to the terminal. 2008-12-22 12:14:50 -05:00
Kristian Høgsberg
33500890b3 Handle more control characters in terminal. 2008-12-19 17:38:55 -05:00
Kristian Høgsberg
c8c5d5872d Set terminal type to vt100. 2008-12-18 14:50:08 -05:00
Kristian Høgsberg
d2412e2c2e Redesign the compositor / server interface.
This lets the compositor directly provide the implementation of the RMI
objects for the surface object and a new compositor object.  We avoid the
manual forwarding of requests into the compositor and the clumsy compositor
interface struct.
2008-12-15 20:35:24 -05:00
Kristian Høgsberg
f0c7b2083a Don't close uninitialized fd, check forkpty error. 2008-12-12 13:39:03 -05:00
Kristian Høgsberg
dbd54640f4 Implement a bunch of escape codes.
Bash command line editing and gdb is pretty much there.  Emacs, vi and even less
need more work.
2008-12-08 22:22:25 -05:00
Kristian Høgsberg
6e0a2f8953 Tweak terminal font color. 2008-12-08 14:06:56 -05:00
Kristian Høgsberg
221067654c Let clients override the suggested size on resize.
This lets gears enforce a square aspect ration and minimum size of 300x300
and the terminal now properly resizes in steps of character cells.
2008-12-08 13:50:07 -05:00
Kristian Høgsberg
1584c57edc Snap terminal size to an integer number of character cells. 2008-12-08 12:59:37 -05:00
Kristian Høgsberg
17809b1e43 Handle \e[J and \e[H so we can clear the terminal. 2008-12-08 12:20:40 -05:00
Kristian Høgsberg
721f09f187 Make sure we don't miss queue redraws between commit and ack. 2008-12-08 11:13:26 -05:00
Kristian Høgsberg
c47303f2d2 Destroy back buffer in acknowledge handler. 2008-12-08 09:57:08 -05:00
Kristian Høgsberg
0d77fd484c Add key map for ctrl modifier as well. 2008-12-08 00:23:55 -05:00
Kristian Høgsberg
b29415ee6d Update tail pointer correctly so scrolling works. 2008-12-08 00:16:39 -05:00
Kristian Høgsberg
f04e838d4a Skip escape codes for now. 2008-12-08 00:07:49 -05:00
Kristian Høgsberg
6e83d58153 Add keyboard input to terminal. 2008-12-08 00:01:36 -05:00
Kristian Høgsberg
269d6e3daf Run command in a pty and feed output to wayland terminal. 2008-12-07 23:17:31 -05:00
Kristian Høgsberg
44e3c5e1ad Add some text contents to terminal. 2008-12-07 21:51:58 -05:00
Kristian Høgsberg
0c4457f0c2 Refactor window logic into reusable parts, add a new terminal application.
The gears code is moved into a new file gearc.c and the window decoration
and management code stays in window.c.  A new application 'terminal' is the
second user of the windowing code, but doesn't do anything useful yet.
2008-12-07 20:05:36 -05:00