Commit graph

294 commits

Author SHA1 Message Date
Daniel Eklöf
06f9495ae2
render: implement strikeout 2019-07-16 15:08:02 +02:00
Daniel Eklöf
d93ca2f654
render: implement 'underline' 2019-07-16 14:20:39 +02:00
Daniel Eklöf
441337645a
render: implement 'dim' 2019-07-16 13:25:57 +02:00
Daniel Eklöf
770c5e97dd
csi: move 'dim' attribute from 'vt' to cell attributes 2019-07-16 13:25:45 +02:00
Daniel Eklöf
6c6543cfeb
csi: add back 'blink' attribute 2019-07-16 13:19:17 +02:00
Daniel Eklöf
ccc8ef9606
terminal: foreground/background in cell attributes are now uint32_t
This reduces the cell size, and thus improves the cache behavour
2019-07-16 13:17:51 +02:00
Daniel Eklöf
2a1c4d29e9
csi: implement \E[21m (disable bold) 2019-07-16 12:53:58 +02:00
Daniel Eklöf
0d1b4449b9
conf: initial support for configuration file
* Look for configuration file in (in this order):
  - XDG_CONFIG_HOME/footrc
  - ~/.config/footrc
* Currently supports setting the font
2019-07-16 11:52:22 +02:00
Daniel Eklöf
22115e1cf4
main: default font is 'monospace' 2019-07-16 11:03:48 +02:00
Daniel Eklöf
7f6a4f4b6b
csi: implement FocusIn/Out events 2019-07-16 10:34:08 +02:00
Daniel Eklöf
9929e902a6
csi: recognize, but mostly ignore, cursor style configuration 2019-07-16 10:20:54 +02:00
Daniel Eklöf
4038a8a198
csi: add missing 'break' 2019-07-16 10:20:47 +02:00
Daniel Eklöf
288cee0c1f
osc: recognize, but ignore, 112 (reset text cursor color) 2019-07-16 10:20:20 +02:00
Daniel Eklöf
d91805bb28
add PKGBUILD (for arch) 2019-07-15 15:48:03 +02:00
Daniel Eklöf
433c81f54b
meson: install foot.desktop 2019-07-15 15:47:45 +02:00
Daniel Eklöf
7379198f4a
Use vt_to_slave() instead of calling write(term->ptmx, ...) everywhere 2019-07-15 15:42:21 +02:00
Daniel Eklöf
2f6b8d232f
vt: add vt_to_slave() 2019-07-15 15:42:00 +02:00
Daniel Eklöf
8bf0befe42
Add .desktop file 2019-07-15 15:29:17 +02:00
Daniel Eklöf
ae2ec19133
csi: remove debug logging 2019-07-15 14:00:02 +02:00
Daniel Eklöf
888de785b7
csi: erase alt screen before activating it 2019-07-15 13:59:05 +02:00
Daniel Eklöf
f63df93e15
csi: 'X': then 'end' parameter in term_erase() is *inclusive* 2019-07-15 13:55:47 +02:00
Daniel Eklöf
470489c3a3
vt: there are NULL entries in the alternate charset 2019-07-15 13:39:53 +02:00
Daniel Eklöf
6bf75d199b
vt: \EB and \E0 have an optional "private", not param (which are CSI only) 2019-07-15 13:39:19 +02:00
Daniel Eklöf
5597856762
main: set TERM=xterm-direct 2019-07-15 12:36:00 +02:00
Daniel Eklöf
03b9cf2a22
csi: implement ':'-separated 24-bit color values 2019-07-15 12:35:43 +02:00
Daniel Eklöf
6550285cf6
vt: handle ':'-separated sub parameters correctly 2019-07-15 12:34:51 +02:00
Daniel Eklöf
6ac115bffd
vt: implement SI/SO (shift in, shift out)
This enables switching between the G0 and G1 charsets.
2019-07-15 12:04:40 +02:00
Daniel Eklöf
6077b57ca5
rename project to 'foot' 2019-07-11 20:10:59 +02:00
Daniel Eklöf
6e4c31960a
scrollback: limit maximum number of lines one can scrollback at once 2019-07-11 18:34:03 +02:00
Daniel Eklöf
cbac302ba1
scrollback: fix assertions in debug builds; need to wrap row number 2019-07-11 18:25:46 +02:00
Daniel Eklöf
0393521d79
input: cancel selection on any mouse *except* BTN_LEFT 2019-07-11 18:17:40 +02:00
Daniel Eklöf
6cd23654cc
selection: disable source listeners, since we don't currently use them 2019-07-11 17:38:03 +02:00
Daniel Eklöf
66e067082b
selection: implement copy *to* primary 2019-07-11 17:38:03 +02:00
Daniel Eklöf
703aeecb95
selection: add support for pasting *from* primary 2019-07-11 17:38:03 +02:00
Daniel Eklöf
e56066feef
selection: add selection_from_primary() API (stub for now) 2019-07-11 17:38:03 +02:00
Daniel Eklöf
5e1715be18
selection: cleanup 2019-07-11 17:38:03 +02:00
Daniel Eklöf
6edc3845bd
selection: calculate required length for clipboard text 2019-07-11 17:38:03 +02:00
Daniel Eklöf
c1c6646b98
selection: read until EOF when reading from clipboard 2019-07-11 17:38:03 +02:00
Daniel Eklöf
e8b6705ab8
selection: it's an error to call offset_accept() on non-drag-and-drop 2019-07-11 17:38:03 +02:00
Daniel Eklöf
3f02a7354e
selection: handle partial writes and EINTR when writing to clipboard 2019-07-11 17:38:03 +02:00
Daniel Eklöf
482c8f76a9
selection: add support for pasting from clipboard 2019-07-11 17:38:02 +02:00
Daniel Eklöf
b50ec1a850
selection: initial copy-to-clipboard functionality 2019-07-11 17:38:02 +02:00
Daniel Eklöf
1f808781f4
selection: selection_finalize() ignores invalid selections 2019-07-11 17:38:02 +02:00
Daniel Eklöf
0facfa4da7
input: call selection_finalize() when BTN_LEFT is released 2019-07-11 17:38:02 +02:00
Daniel Eklöf
e7e199d6b5
selection: spell 'finalize' correctly 2019-07-11 17:38:02 +02:00
Daniel Eklöf
d0e0b6da7c
selection: invalidate *all* affected lines when updating selection 2019-07-11 17:38:02 +02:00
Daniel Eklöf
c43b49dab6
input: ignore mouse motion outside our window 2019-07-11 17:38:02 +02:00
Daniel Eklöf
18070cf286
selection: disable debug logging 2019-07-11 17:38:02 +02:00
Daniel Eklöf
84c0bb8f59
csi: cancel selection when switching between 'normal' and 'alt' grid 2019-07-11 17:38:02 +02:00
Daniel Eklöf
7dd80b08b3
render: bug: don't render cursor when hide cursor is enabled 2019-07-11 17:38:01 +02:00