Commit Graph

8088 Commits

Author SHA1 Message Date
Nicholas Marriott
2006b7a563 More invalidation of images. 2019-12-05 09:27:15 +00:00
Nicholas Marriott
b642eac450 Redraw and scroll images and part of invalidating them. 2019-12-05 09:11:24 +00:00
Nicholas Marriott
7566e37a46 Call sixel_scale with the right number of arguments. 2019-12-05 08:51:24 +00:00
Nicholas Marriott
62c0280b23 Correctly remove when not visible. 2019-12-05 08:48:58 +00:00
Nicholas Marriott
86c5098a88 Add helpers to scroll image up and a flag to copy the colours. 2019-12-05 08:32:25 +00:00
Nicholas Marriott
49f2f0a8f1 Store images, currently at most 10. 2019-12-05 00:02:55 +00:00
Nicholas Marriott
3aebcc6709 Merge branch 'master' into sixel 2019-12-04 19:27:16 +00:00
Nicholas Marriott
92ecd611f6 Check each _PATH_* define individually (Solaris has paths.h but not all of the
defines). From Eric N Vander Weele.
2019-12-03 18:53:23 +00:00
Thomas Adam
875139f5fa Merge branch 'obsd-master' 2019-12-03 12:01:26 +00:00
nicm
7826d40ff9 Style nits in function arguments. 2019-12-03 10:47:22 +00:00
Thomas Adam
edf96b06a5 Merge branch 'obsd-master' 2019-12-02 20:01:24 +00:00
nicm
ec1b8e5f05 Remove client menu, I don't think it adds anything. 2019-12-02 19:25:52 +00:00
Nicholas Marriott
2173365f4f Fix keys in CHANGES. 2019-12-01 21:15:21 +00:00
Nicholas Marriott
7836779e21 Merge branch '3.0a-rc' 2019-12-01 09:00:46 +00:00
Nicholas Marriott
25ae028695 Add to CHANGES. 2019-12-01 08:53:10 +00:00
nicm
1b0cc4503e REG_STARTEND is not portable, but it turns out we don't actually need
it. From Evan Green, GitHub issue 1982.
2019-12-01 08:52:47 +00:00
Nicholas Marriott
a52fe9cf7f Add to CHANGES. 2019-12-01 08:50:45 +00:00
Nicholas Marriott
146ee3f6f8 Don't write image as text yet. 2019-11-30 09:47:53 +00:00
Nicholas Marriott
b1904c9b8d Store SIXELs as a box for the moment. 2019-11-30 09:17:18 +00:00
Nicholas Marriott
5d8dbcdf3d Do not defer redraw if it is just the status line (will need to do more here I
think).
2019-11-30 09:15:35 +00:00
Nicholas Marriott
0c999a402e Merge branch 'master' into sixel 2019-11-29 18:54:09 +00:00
Thomas Adam
866b053f25 Merge branch 'obsd-master' 2019-11-29 18:01:24 +00:00
nicm
48897fbc44 Fix respawn-pane/window if default-command is set, reported by Janos Barbero. 2019-11-29 17:21:32 +00:00
nicm
67d995d100 If a window appears in only one attached session, there is no point in
worrying about which is the latest client (there is only one).
2019-11-29 16:04:07 +00:00
nicm
ad98fad9a3 Do not crash when a format doesn't exist, reported by Thomas Sattler. 2019-11-28 22:23:40 +00:00
Thomas Adam
34084fe666 Merge branch 'obsd-master' 2019-11-28 22:01:24 +00:00
nicm
c5d74b1deb Do not crash when a format doesn't exist, reported by Thomas Sattler. 2019-11-28 21:18:38 +00:00
Nicholas Marriott
3bb11ec484 Revert "add missing definition"
This reverts commit 743939ec84.
2019-11-28 14:36:32 +00:00
Nicholas Marriott
28961dd5a3 Add an image. 2019-11-28 14:24:57 +00:00
Nicholas Marriott
d2e3f3c1cc Add a flag to disable blocking while sending a SIXEL image (turned off when the
buffer hits 0 size).
2019-11-28 14:20:22 +00:00
Nicholas Marriott
e01df67ca1 Crop and scale images as needed when drawing them. 2019-11-28 13:21:40 +00:00
Nicholas Marriott
e24acc0b5c Simple SIXEL parse and modify API. 2019-11-28 12:43:00 +00:00
Nicholas Marriott
b34111b3da Pass through SIXEL DCS sequences (treat similarly to the passthrough escape
sequence) if it appears the terminal outside supports them.
2019-11-28 12:35:18 +00:00
Thomas Adam
743939ec84 add missing definition 2019-11-28 12:31:43 +00:00
Nicholas Marriott
e00730d149 Fix bad merge. 2019-11-28 12:30:43 +00:00
nicm
640149337f Missing after-kill-pane option. 2019-11-28 12:22:32 +00:00
Thomas Adam
5f5f029e3b Merge branch 'obsd-master' 2019-11-28 12:18:41 +00:00
nicm
fa409194d3 Missing after-kill-pane option. 2019-11-28 10:55:45 +00:00
nicm
08e2828592 Parse out DA features. 2019-11-28 10:17:22 +00:00
nicm
bc5881c4d2 Long lines and spacing fixes. 2019-11-28 09:56:25 +00:00
nicm
c416fe0da4 Add xrecallocarray. 2019-11-28 09:51:58 +00:00
nicm
9ea05b2fb3 Bump the escape sequence timeout to five seconds to allow for longer
legitimate sequences.
2019-11-28 09:50:09 +00:00
nicm
2349b1dbef Make a best effort to set xpixel and ypixel for each pane and add
formats for them.
2019-11-28 09:45:15 +00:00
nicm
067604bf8c Store xpixel/ypixel from TIOCGWINSZ and add formats. 2019-11-28 09:05:34 +00:00
nicm
7fb8eec8f1 status-left and status-right need push-default also, reported by Eric
Pruitt in GitHub issue 1989.
2019-11-28 08:38:04 +00:00
Thomas Adam
c13838436e Merge branch 'obsd-master' 2019-11-27 22:01:24 +00:00
Nicholas Marriott
7a30e6b941 Merge branch '3.0-rc' into 3.0a-rc 2019-11-27 20:55:19 +00:00
nicm
eb4d60b1ce REG_STARTEND is not portable, but it turns out we don't actually need
it. From Evan Green, GitHub issue 1982.
2019-11-27 20:54:30 +00:00
Nicholas Marriott
0134574a67 3.0a. 2019-11-27 20:49:59 +00:00
Nicholas Marriott
c942f11ba8 Use a malloc'd buffer for lsk since commands can be very long, from Gregory Pakosz. 2019-11-27 20:48:30 +00:00