Commit graph

681 commits

Author SHA1 Message Date
Daniel Eklöf
d2bfb0c97c
README: that -> the 2019-09-21 21:00:40 +02:00
Daniel Eklöf
41618ee217
README: remove badges (added directly to gitlab project instead) 2019-09-21 20:51:47 +02:00
Daniel Eklöf
c222ee1462
README: add CI pipeline badge 2019-09-21 20:46:57 +02:00
Daniel Eklöf
64bf6257ec
doc: user Courier New instead of Arial in font examples
Since Courier New is monospaced, while Arial is not.
2019-09-21 20:43:29 +02:00
Daniel Eklöf
6d5d3a8d7d
It's Hz, not HZ 2019-09-21 20:09:06 +02:00
Daniel Eklöf
f20b08db3d
main: -f,--font now accepts a list of fonts
This makes -f,--font behave just like the configuration file option
'font'; the first font in the list is the primary font, and the
remaining fonts are fallback fonts used when a glyph cannot be found
in the primary font.
2019-09-21 20:01:55 +02:00
Daniel Eklöf
933e165164
doc: describe font fallback handling 2019-09-21 19:50:16 +02:00
Daniel Eklöf
10f8bffc02
PKGBUILD: need python to run generate-alt-random-writes.py 2019-09-21 19:40:02 +02:00
Daniel Eklöf
1521f47a49
README: don't emphasize entries in "known issues" list 2019-09-21 12:14:51 +02:00
Daniel Eklöf
548bc5a0ed
README: add text reflow to list of known issues 2019-09-21 12:14:03 +02:00
Daniel Eklöf
29b5a14f55
config: change default bright5 and bright 6 colors
They where previously identical to the corresponding 'regular'
colors. Now, we've done a saturated add with 0x202020 (which seems to
be roughly the difference between the other regular and bright
colors).
2019-09-21 12:09:50 +02:00
Daniel Eklöf
68e89c6fbf
config: change default 'regular0' color
0x222222 appears to be more visible against the default
background (0x111111) than 0x000000.
2019-09-21 12:01:29 +02:00
Daniel Eklöf
b2ca984ccb
main: round strikeout and underline position fallback handling 2019-09-21 00:47:17 +02:00
Daniel Eklöf
a1cd3769a3
main: round strikeout position, and ceil strikeout thickness
This fixes an issue where sometimes the strikeout thickness where
truncated to 0 (e.g. Cascadia Code).

Note that we already do this for the underline calculations.
2019-09-21 00:46:15 +02:00
Daniel Eklöf
55968413b6
render: remove assertion that isn't always true
It's not true for e.g. Cascadia code.
2019-09-21 00:45:22 +02:00
Daniel Eklöf
722290bae9
PKGBUILD: foot-terminfo depends on ncurses 2019-09-21 00:29:17 +02:00
Daniel Eklöf
31efe8c9e9
PKGBUILD: 'foot' optionally depends on 'foot-terminfo' 2019-09-21 00:26:29 +02:00
Daniel Eklöf
a26689fcdc
PKGBUILD: break out terminfo files to a separate package 2019-09-21 00:22:28 +02:00
Daniel Eklöf
ce4d2a085a
generate-alt-random-writes: reduce output size 2019-09-20 22:39:09 +02:00
Daniel Eklöf
4d558d8bed
main: names for poll FD indices 2019-09-20 22:27:27 +02:00
Daniel Eklöf
b3a419f427
main: better names of timers for delayed rendering timeouts 2019-09-20 22:21:06 +02:00
Daniel Eklöf
1a9ec997b3
main: track output refresh rate 2019-09-20 22:15:18 +02:00
Daniel Eklöf
dd26fa099b
README: formatting 2019-09-20 21:51:20 +02:00
Daniel Eklöf
5e5a0853ed
README: formatting 2019-09-20 21:50:22 +02:00
Daniel Eklöf
b16a11cc7a
README: add section with known issues 2019-09-20 21:45:10 +02:00
Daniel Eklöf
652ff5da92
main: improve delayed rendering
We now use two timers for delayed rendering; one _lower_ limit timeout
that is reset each time we receive input from the slave. We never
render *before* this timeout. Since it's reset, this means rendering
may be pushed further into the future.

To prevent this from happening indefinitely, the second timer defines
the _upper_ limit. This timer is only reset after rendering.

Thus, slave input may now increase the rendering delay, but only up to
a certain limit.

The lower limit is as before, 1ms. The upper limit is set to 16ms (the
time between frame updates on a 60HZ output).
2019-09-20 18:12:58 +02:00
Daniel Eklöf
aa41c8ceb1
footrc: zsh isn't the default shell 2019-09-20 18:12:58 +02:00
Daniel Eklöf
28ba6be0db
footrc: add missing newline at end-of-file 2019-09-20 18:12:58 +02:00
Daniel Eklöf
4cf39e5c42
meson: install footrc example file to $datadir/foot/footrc 2019-09-20 18:12:58 +02:00
Daniel Eklöf
8703ec2c93
README: combine description for escape and ctrl+g 2019-09-10 18:40:53 +02:00
Daniel Eklöf
684624c11e
csi: don't ignore the color space identifier in SGRs
Only a color space ID of '2' means the sequence is an RGB
sequence. Update existing code to verify this, and ignore sequences
with other color space IDs.

Except color space ID '5', which is the same as a regular 38;5;<idx>
sequence, but using sub-parameters instead (38:2:5:<idx>).
2019-09-04 20:28:35 +02:00
Daniel Eklöf
2707cf0fc4
vt: implement 'insert mode' 2019-08-30 22:08:37 +02:00
Daniel Eklöf
f4291690ee
csi: CSI h isn't a valid sequence - it needs a parameter
And, 'insert mode' isn't activated with \e[h, but with
\e[4h.
2019-08-30 22:01:05 +02:00
Daniel Eklöf
2e9349c4c4
vt: remove unneeded include 2019-08-30 21:43:50 +02:00
Daniel Eklöf
77f6c126f5
generate-alt-random-writes: generate streaks of characters 2019-08-30 21:37:51 +02:00
Daniel Eklöf
37d941f57a
input: take scale into account when converting mouse coords to row/col 2019-08-30 21:31:14 +02:00
Daniel Eklöf
05888b4706
input: bug: account for margins when converting mouse coords to row/col 2019-08-30 21:30:27 +02:00
Daniel Eklöf
7c4c41fbae
render: search box: use colors from the color table
Use the 'yellow' color from the 'regular' range of colors (SGR 33) for
background when we have a match, or 'red' from the 'regular' range of
colors (SGR 31) when we don't have a match.

Foreground uses the 'black' color from the regular range of
colors (SGR 30).
2019-08-30 21:01:13 +02:00
Daniel Eklöf
e2aeb7e515
search: map ctrl+b/f to move cursor single character backward/forward 2019-08-30 20:55:45 +02:00
Daniel Eklöf
d87b791d81
man: document keyboard + mouse shortcuts 2019-08-30 20:26:29 +02:00
Daniel Eklöf
1c0265074e
README: put -> copy 2019-08-30 20:26:20 +02:00
Daniel Eklöf
5752aaca0c
README: document ctrl+s while doing a scrollback search 2019-08-30 20:18:12 +02:00
Daniel Eklöf
e673bd4ab0
Merge branch 'scrollback-search' 2019-08-30 20:16:12 +02:00
Daniel Eklöf
f24a40a391
search: ctrl+s searches forward 2019-08-30 20:15:36 +02:00
Daniel Eklöf
556bf95b28
search: make search-direction configurable 2019-08-30 20:15:12 +02:00
Daniel Eklöf
42714c51a9
search: fix distance to prev word calculation when final cursor was 0 2019-08-30 19:42:48 +02:00
Daniel Eklöf
e8d187e4f3
render: draw (cursor) bar using the same thickness as underlines 2019-08-30 19:42:33 +02:00
Daniel Eklöf
0fceed6f00
search: implement move cursor word backward/forward 2019-08-30 19:37:18 +02:00
Daniel Eklöf
64460c5abe
search: implement delete word backward/forward 2019-08-30 19:37:06 +02:00
Daniel Eklöf
61318d068e
search: utility functions distance_{next,prev}_word()
These functions calculate the distance from the current cursor to the
next/previous word.
2019-08-30 19:36:37 +02:00