Commit Graph

905 Commits

Author SHA1 Message Date
Nicholas Marriott
514fe11727 We are going to need the updated screen data for emulating the scroll region,
which may involve changing the cursor position; however, the old (before
redraw) cursor position is necessary for writing to the tty. So, save it before
doing the redraw then update the internal screen then update the tty.

Not sure I like this solution but it does the job for now.
2009-02-11 17:04:39 +00:00
Nicholas Marriott
91c9d95279 Change tty_cmd_* to use a window_pane. 2009-02-11 07:02:34 +00:00
Nicholas Marriott
e444b0b92a Split most of tty_cmd_cell off to tty_cell. First step on making tty_cmd_* take
a window_pane for later use emulating scroll region.
2009-02-11 06:50:16 +00:00
Nicholas Marriott
c6be7d3ee6 Simplify screen/tty write code to eliminate function pointer which is now
unnecessary (it always does the same thing).
2009-02-11 06:31:09 +00:00
Nicholas Marriott
89f30822ef Update TODO. 2009-02-11 06:30:19 +00:00
Nicholas Marriott
b37399304f Don't redraw status line unless it has actually changed. Stops extraneous
updates between clock/#() changes and doesn't require manual status-interval 0
when no updates are occuring.
2009-02-10 00:18:06 +00:00
Nicholas Marriott
cc5a0ab0e4 Update TODO. 2009-02-10 00:17:00 +00:00
Nicholas Marriott
d9f3bcdb50 Zero to turn off updates. 2009-02-10 00:09:44 +00:00
Nicholas Marriott
b7c446f051 FAQ entry for automatic rename CPU use. 2009-02-09 18:13:41 +00:00
Nicholas Marriott
1b036c1ca9 Return -1 not NULL on error. Doh. 2009-02-09 18:09:58 +00:00
Nicholas Marriott
c9cfc9a9f3 Don't try to change the window name unless the pid of the process chosen has
changed. Reduces CPU use.

osdep-* stuff is a bit horrible now but there we go :-/.
2009-02-09 18:08:01 +00:00
Nicholas Marriott
9d90d9ad70 Increase name refresh interval to 250 ms to reduce CPU use. 2009-02-09 16:11:26 +00:00
Nicholas Marriott
8c7c4423e1 Tweak language. 2009-02-08 19:06:16 +00:00
Nicholas Marriott
44cc9c4459 Typos. 2009-02-08 18:41:03 +00:00
Nicholas Marriott
9b09c8d71e Test. 2009-02-08 18:33:04 +00:00
Nicholas Marriott
f5d064afba Test syncmail III. 2009-02-08 18:30:47 +00:00
Nicholas Marriott
b94ddce409 Test syncmail II. 2009-02-08 18:27:10 +00:00
Nicholas Marriott
b9af4919c1 Test syncmail. 2009-02-08 18:23:52 +00:00
Nicholas Marriott
dd1ebf1b9d Handle "" properly. 2009-02-08 16:38:19 +00:00
Nicholas Marriott
b235815831 Don't close fds, so error message appears. 2009-02-08 16:26:43 +00:00
Nicholas Marriott
7942e49aea Session name is now shown. 2009-02-08 16:11:52 +00:00
Nicholas Marriott
62d2ab3e68 Continue process if suspended. 2009-02-08 16:11:26 +00:00
Nicholas Marriott
85fd2147af Move to 0.8. 2009-02-08 14:11:37 +00:00
Tiago Cunha
33d56a36d4 Remove senseless if statement. 2009-02-08 13:36:40 +00:00
Nicholas Marriott
4264ad761d Don't accept NULL argv[0]. 2009-02-08 13:03:43 +00:00
Nicholas Marriott
091c08fcaa Use both pgrp. 2009-02-08 12:33:03 +00:00
Nicholas Marriott
505b071a12 More tweakery. 2009-02-08 12:31:02 +00:00
Tiago Cunha
dd962b60d0 automatic-rename added. 2009-02-08 01:54:23 +00:00
Nicholas Marriott
0e03dc29c4 Update. 2009-02-07 20:08:09 +00:00
Nicholas Marriott
028419ff4b Comment. Missing OS X headers. +TODO. 2009-02-07 19:41:35 +00:00
Nicholas Marriott
1583b87ae6 And again. 2009-02-07 19:33:07 +00:00
Nicholas Marriott
523b2e863f Tweak FreeBSD too. 2009-02-07 19:27:11 +00:00
Nicholas Marriott
f53bcc8798 Even better. 2009-02-07 19:24:50 +00:00
Nicholas Marriott
1d3fba86a3 Make process name guessing pick up SSTOP. 2009-02-07 19:16:25 +00:00
Nicholas Marriott
69ebc15808 Time for 0.7. 2009-02-07 08:36:34 +00:00
Nicholas Marriott
3c7fefd90d Document automatic-rename. 2009-02-07 08:35:26 +00:00
Nicholas Marriott
bb3eb77a2a New sentence, new line. 2009-02-07 08:22:11 +00:00
Nicholas Marriott
ea8a8d39d4 Document command sequences. 2009-02-07 08:20:54 +00:00
Nicholas Marriott
c8e27271e2 Update cursor y on newline otherwise RI gets screwed up at y=0. 2009-02-07 00:05:23 +00:00
Tiago Cunha
fe9320a064 Prevent weird output on OpenBSD (probably on other BSD's too?). From nicm. 2009-02-06 19:36:17 +00:00
Nicholas Marriott
5edb3246c2 Update. 2009-02-06 18:52:41 +00:00
Tiago Cunha
70dbc2f5b1 - Document find-window.
- Document suspend-client.
- Document window-status-{attr,bg,fg}.
- Options without arguments should be listed first.
- s/Copies/Copy/.
2009-02-06 18:38:30 +00:00
Tiago Cunha
4213ff8faa copy-buffer command. 2009-02-03 17:21:19 +00:00
Tiago Cunha
b5f4b7730b Update. 2009-02-02 15:53:33 +00:00
Nicholas Marriott
5a7b7aaa1c Don't leak fd. 2009-02-02 15:46:36 +00:00
Tiago Cunha
dd4e160d71 - Document the -p and -l options in split-window.
- Update {copy,scroll}-mode with the -u option.
- While there sort options alphabetically.
2009-02-01 18:24:25 +00:00
Tiago Cunha
c7ffee6b8c {message,status,mode}-attr added 2009-02-01 18:16:39 +00:00
Tiago Cunha
804beb9266 Support commands with right parenthesis. From nicm and me. 2009-02-01 18:14:49 +00:00
Nicholas Marriott
051dcdcba8 Fix all rxvt*. 2009-02-01 18:11:51 +00:00
Nicholas Marriott
ef7c891aab Missing line break. 2009-02-01 18:11:40 +00:00