Commit Graph

7549 Commits

Author SHA1 Message Date
Nicholas Marriott
05213e4c8c Calculate offset correctly, fixes incorrect offset and prevents crash when
status-left is empty. From Micah Cowan.
2010-01-27 20:26:42 +00:00
Nicholas Marriott
3e2cc2d2c4 Alter next-word to have vi-like movement behaviour, and add next-word-end with
the existing emacs behaviour. From Micah Cowan.
2010-01-27 20:18:52 +00:00
Nicholas Marriott
ba6dedbbbd Actually use the copy made when no newline is found, from martynas@. 2010-01-26 21:36:53 +00:00
Nicholas Marriott
f26312ffbf Hugely simplify window_copy_cursor_next_word, which was way overcomplicated. 2010-01-25 22:34:11 +00:00
Nicholas Marriott
e31480cf44 Update the selection properly after goto line or searching. 2010-01-25 21:37:40 +00:00
Nicholas Marriott
1e5a94fdb5 Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me. 2010-01-25 21:33:39 +00:00
Nicholas Marriott
0b05e6d8cb +. 2010-01-25 20:38:50 +00:00
Tiago Cunha
2305a27308 Sync OpenBSD patchset 616:
Redraw properly when scrolling backward and the cursor is on the last
line. Based on a fix from Micah Cowan.
2010-01-25 17:14:42 +00:00
Tiago Cunha
391b209008 Sync OpenBSD patchset 615:
When a window is destroyed, remove all links to it from each session rather
than just the first. Reported by Robin Lee Powell.
2010-01-25 17:13:43 +00:00
Tiago Cunha
c744964cd9 Sync OpenBSD patchset 614:
Don't leak if arguments appear multiple times, from Tiago Cunha.
2010-01-25 17:12:44 +00:00
Tiago Cunha
05e5bc7882 Sync OpenBSD patchset 613:
Use C-e and C-y for scrolling in vi mode, from Micah Cowan.
2010-01-25 17:11:42 +00:00
Nicholas Marriott
75e13c8977 Redraw properly when scrolling backward and the cursor is on the last
line. Based on a fix from Micah Cowan.
2010-01-24 21:05:12 +00:00
Nicholas Marriott
62822cc78d +. 2010-01-24 20:45:26 +00:00
Nicholas Marriott
b9ade6e6bb When a window is destroyed, remove all links to it from each session rather
than just the first. Reported by Robin Lee Powell.
2010-01-23 21:07:31 +00:00
Nicholas Marriott
c0d3e4315c Don't leak if arguments appear multiple times, from Tiago Cunha. 2010-01-23 17:50:56 +00:00
Nicholas Marriott
8865eb2866 Use C-e and C-y for scrolling in vi mode, from Micah Cowan. 2010-01-23 17:49:21 +00:00
Nicholas Marriott
9a0571ff32 +. 2010-01-23 11:07:25 +00:00
Tiago Cunha
4d477aaeef Sync OpenBSD patchset 612:
Don't leak line, from Tiago Cunha.
2010-01-22 17:29:19 +00:00
Tiago Cunha
64c26cf8ce Sync OpenBSD patchset 611:
Permit !, + and - to be used for window targets to specify last window (!), or
next and previous window by number (+ and -).

Also tidy an if in cmd-new-window.c.
2010-01-22 17:28:34 +00:00
Nicholas Marriott
097a501414 Don't leak line, from Tiago Cunha. 2010-01-20 18:30:20 +00:00
Nicholas Marriott
7d75dbbdda Permit !, + and - to be used for window targets to specify last window (!), or
next and previous window by number (+ and -).

Also tidy an if in cmd-new-window.c.
2010-01-19 21:27:47 +00:00
Nicholas Marriott
dcfa183cfe XHTML validation issues, from Mike Putnam. 2010-01-19 18:17:23 +00:00
Tiago Cunha
21dc792395 As of release 1.0, the server automatically sets the status-utf8, and utf8
options if started with -u.
2010-01-19 00:55:56 +00:00
Tiago Cunha
f7cb814613 Done. 2010-01-19 00:51:03 +00:00
Tiago Cunha
04b4ce8117 Sync OpenBSD patchset 610:
Missing Pp, from Tiago Cunha.
2010-01-19 00:46:30 +00:00
Nicholas Marriott
d5fb69b904 +. 2010-01-18 19:44:01 +00:00
Nicholas Marriott
f569950664 Missing Pp, from Tiago Cunha. 2010-01-18 19:16:04 +00:00
Tiago Cunha
f772e1d362 Sync OpenBSD patchset 609:
Document swap-pane -d.
2010-01-17 19:02:47 +00:00
Tiago Cunha
2a2e24a177 Sync OpenBSD patchset 608:
Permit S- prefix on keys for shift. Relatively few terminals support this
(basically xterm only) and even fewer have them in terminfo (kLFT2 and kRIT2).
2010-01-17 19:01:27 +00:00
Tiago Cunha
dfc2ad1e5f Sync OpenBSD patchset 607:
key should be an int not a char.
2010-01-17 19:00:05 +00:00
Nicholas Marriott
38ee1e66aa Add vim-style key bindings file from Daniel Thau. 2010-01-17 16:24:09 +00:00
Nicholas Marriott
796ae34f2f ++. 2010-01-14 22:13:00 +00:00
Nicholas Marriott
a4ebd9af33 Document swap-pane -d. 2010-01-14 22:10:47 +00:00
Nicholas Marriott
5483a460fd +. 2010-01-14 22:10:23 +00:00
Nicholas Marriott
d5d0a36f66 Permit S- prefix on keys for shift. Relatively few terminals support this
(basically xterm only) and even fewer have them in terminfo (kLFT2 and kRIT2).
2010-01-14 21:53:40 +00:00
Nicholas Marriott
8f301ed62d key should be an int not a char. 2010-01-11 23:46:22 +00:00
Nicholas Marriott
3abd4ca9a7 +OpenBSD FAQ. 2010-01-11 19:30:24 +00:00
Nicholas Marriott
b4e50303ab New screenshot. 2010-01-11 19:21:27 +00:00
Nicholas Marriott
4aa8284b39 s/new-window/new-session/ 2010-01-10 00:14:34 +00:00
Nicholas Marriott
3211bc5f23 $OpenBSD$ not $Id$ 2010-01-08 17:44:27 +00:00
Tiago Cunha
22101e3fe3 Sync OpenBSD patchset 605:
mouse-select-pane has to redraw the borders now too.
2010-01-08 16:35:38 +00:00
Tiago Cunha
a339427e45 Update. 2010-01-08 16:34:49 +00:00
Tiago Cunha
7fdb647e19 Do not include paths.h, since it's OS-dependent. 2010-01-08 16:34:17 +00:00
Tiago Cunha
da194cc435 Sync OpenBSD patchset 604:
New command, join-pane, to split and move an existing pane into the space (like
splitw then movep, or the reverse of breakp).
2010-01-08 16:31:35 +00:00
Tiago Cunha
f5dd79a01a Sync OpenBSD patchset 603:
Fix this properly.
2010-01-08 16:28:04 +00:00
Tiago Cunha
4a6191c5d1 Sync OpenBSD patchset 602:
Don't return the root cell if the string doesn't match.
2010-01-08 16:25:50 +00:00
Tiago Cunha
8212e76291 Sync OpenBSD patchset 601:
Use the specified pane for size calculations. Doh.
2010-01-08 16:24:21 +00:00
Tiago Cunha
91b7db766c Sync OpenBSD patchset 600:
Change split-window to accept a pane target (it should be split-pane but
renaming the command would be annoying).
2010-01-08 16:23:38 +00:00
Tiago Cunha
7c3d4e35d7 Sync OpenBSD patchset 599:
Correctly clear 256-colour flag for aixterm colours.
2010-01-08 16:22:02 +00:00
Nicholas Marriott
6789088dce mouse-select-pane has to redraw the borders now too. 2010-01-08 09:14:15 +00:00