Commit Graph

200 Commits

Author SHA1 Message Date
83a9f272d8 Missing NULL check. 2008-06-18 19:06:51 +00:00
7842d29673 Revert attempt to fix stray updates, turns out it was clock :-/. 2008-06-04 19:20:10 +00:00
39be570b20 vi keys from Will Maier. 2008-06-04 18:50:35 +00:00
14b9512546 Add activity monitoring, also invert items on taskbar which have activity. 2008-06-04 16:46:23 +00:00
205b78ec58 Some key tweaks, fix status bar to not rely on attr. 2008-01-03 21:32:11 +00:00
08d7be638e Fix charset stuff. 2007-12-06 13:54:33 +00:00
103748d6ad Major reorganisation of screen handling. 2007-12-06 09:46:23 +00:00
3962c5f706 Change window name on \ek...\e\. 2007-11-30 11:08:35 +00:00
043514a834 Preliminary mouse support. 2007-11-27 23:28:51 +00:00
f47ab8f13f Don't nuke charset flag on [0m. Also rename DRAWING -> CHARSET flag. 2007-11-27 23:01:27 +00:00
43c99c2fab Clear current line properly on clear eos. 2007-11-27 22:12:14 +00:00
76c8a590db Big internal reorganisation to move tty control into parent. 2007-11-27 19:23:34 +00:00
15511cb41a Support for VT100 graphics mode. Also lose some redundant checks. 2007-11-24 23:29:49 +00:00
5ad9b31ac5 Scroll region reset homes the cursor, so start at 0,0 when drawing. Also don't set region after DECRC. 2007-11-24 19:29:56 +00:00
a01093603b Inc region in debug msg. 2007-11-23 22:51:13 +00:00
2cdc75fa4e Fix clear. 2007-11-21 14:50:41 +00:00
9a6e47cfa8 Initial history support. 2007-11-21 13:11:41 +00:00
ceab127fac Mass screen.c rename/tidy. Add a actual size (ysize) as distinct from display size (now dx,dy). Move functions which work on the displayed area into screen-display.c and tidy. Use macros consistently when accessing screen data (may want to move everything about again later!). This the first step on the road to scrollback. 2007-11-20 21:42:29 +00:00
0be6a3041f Style: ry_* -> r* 2007-11-20 18:46:32 +00:00
86b73cec72 Check for scrolling when _cursor_ is inside region, not number of lines. Duh. 2007-11-16 16:28:14 +00:00
5940c5ff88 Support tab. 2007-11-09 17:06:01 +00:00
ab097f0c0c Don't save/restore ry_*. 2007-10-26 17:15:50 +00:00
4df168c986 Use local var and pull screen out of ictx. 2007-10-24 15:40:59 +00:00
ebeb14211d Handle DSR for resize(1). 2007-10-24 15:29:29 +00:00
e21587864a Save restore attr. 2007-10-24 15:01:25 +00:00
5c2d7b2a9a Don't send zero-length when we have a \0. 2007-10-19 23:25:33 +00:00
de24fbb35c Add a bell-action option. 2007-10-19 10:21:36 +00:00
ffa8dcc4da Handle \r\n at EOL properly. 2007-10-12 11:44:30 +00:00
efa3e131b5 Simplify input.c - lose class table and use macros. 2007-10-10 19:45:20 +00:00
1e252b9e9a Wrap lines properly. 2007-10-05 17:51:56 +00:00
1f9a8e70d9 Incomplete resize support. 2007-10-04 19:03:52 +00:00
9bb907f2a7 Move command handling into the server and tidy up some bits. 2007-10-03 10:18:32 +00:00
7ccdbf392d Sprinkle some const. 2007-10-03 09:17:00 +00:00
ef91aac688 Add profiling. Also some trivial optimisations to skip memcpying. 2007-10-03 00:13:46 +00:00
843779a3e0 Restore window title handling. 2007-10-01 17:37:41 +00:00
872696f781 Pass attributes around as flags rather than as a list of escape codes. 2007-10-01 14:18:42 +00:00
532757fd1c Don't move cursor when filling screen. 2007-09-30 13:29:28 +00:00
32f177038f Dl/Il should follow scrolling region. 2007-09-29 18:48:04 +00:00
e6424bcce9 Fix scrolling region checks. 2007-09-29 17:45:10 +00:00
1e316cfc7c Lose intermediate handling (unused). Change argument parsing to work properly over multiple buffers by saving a copy of the argument (we can't just save off/len since the buffer may vanish at any point). 2007-09-29 14:25:49 +00:00
a777c060dc Nuke CLEAR_SCREEN/ENDOFSCREEN and assert scroll region when drawing. These will be reqd for status line(s). 2007-09-29 10:57:39 +00:00
14e9f73df9 debug2 not debug. 2007-09-29 09:50:59 +00:00
0bbe838b25 Window flags, currently only bell. 2007-09-29 09:15:49 +00:00
102e4b35d9 Sort headers. 2007-09-28 22:54:21 +00:00
aafee17de6 New input parser via state machine. 2007-09-28 22:47:22 +00:00
1fefbb7a85 Pass through backspace for now. 2007-09-21 19:24:37 +00:00
fc63750d30 Scrolling region. 2007-08-28 09:19:50 +00:00
635edfa7d5 Don't accept zero titles. 2007-08-27 11:05:21 +00:00
272ad1ed6c Tweak logging. 2007-08-27 08:12:23 +00:00
a41ece5ff0 Initial import to CVS. Basic functions are working, albeit with a couple of showstopper memory bugs and many missing features. Detaching, reattaching, creating new sessions, listing sessions work acceptably for using with shells. Simple curses programs (top, systat, tetris) and more complicated ones (mutt, emacs) that don't require scrolling regions (ESC[r) mostly work fine (including mutt, emacs). No status bar yet and no key remapping or other customisation. 2007-07-09 19:04:12 +00:00