Commit Graph

14 Commits

Author SHA1 Message Date
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