Commit graph

227 commits

Author SHA1 Message Date
Daniel Eklöf
a0b5f79f32
readme: repology: use three columns instead of one 2024-08-07 17:13:38 +02:00
Daniel Eklöf
a176d8fbdb
readme: typo: foot -> foot's 2024-08-02 12:06:08 +02:00
Daniel Eklöf
aabb239c0f
readme: xtgettcap: mention tigetstr() compability 2024-08-02 10:33:18 +02:00
Daniel Eklöf
a3ad740251
readme: IRC: update link to point to the web interface 2024-07-27 08:48:32 +02:00
Daniel Eklöf
00ec2a8f09
readme: update mastodon link 2024-07-27 08:37:41 +02:00
Daniel Eklöf
b503c0d6d9
reaadme: add styled and colored underlines to the feature list 2024-06-27 19:28:04 +02:00
Daniel Eklöf
a4046e0c3d
code of conduct: initial code-of-conduct
Based on [River's](https://codeberg.org/river/river) code of conduct,
which is adapted from the
[Contributor Covenant](https://www.contributor-covenant.org/),
version 2.1, available at
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
2024-04-10 16:26:03 +02:00
tunjan
3cc94ab4e8 fix typo in README 2024-04-05 11:11:21 +00:00
Craig Barnes
27330a5dd6
csi: indicate "permanently reset" for DECRQM queries of mode 67 (DECBKM)
This allows dynamic querying for the equivalent of terminfo's "kbs"
capability.
2024-03-16 15:36:00 +01:00
Daniel Eklöf
9ca84e6b48
config: map Control+wheel to font increase/decrease
This is in addition to the already existing keyboard shortcuts.

Also add missing default keyboard/mouse bindings to readme + foot(1).
2024-02-15 16:55:40 +01:00
delthas
6c56b04b3f
osc: add support for osc 176 (app ID)
This adds support for a new OSC escape sequence: OSC 176, that lets
terminal programs tell the terminal the name of the app that is
running. foot then sets the app ID of the toplevel to that ID,
which lets the compositor know which app is running, and typically
sets the appropriate icon, window grouping, ...

See: https://gist.github.com/delthas/d451e2cc1573bb2364839849c7117239
2024-02-06 13:50:09 +01:00
Daniel Eklöf
7999975016
Don't use fancy Unicode quotes, stick to ASCII 2024-02-06 12:36:45 +01:00
Daniel Eklöf
d6939dd634
readme: shell integration: fix wiki link 2024-02-06 12:26:00 +01:00
Daniel Eklöf
84e681f028
readme: add "Piping last command's output" to index 2024-02-06 12:14:48 +01:00
Daniel Eklöf
1393942de3
readme, doc/foot.1: document shell-integration:command-output tracking 2024-02-06 12:13:09 +01:00
Daniel Eklöf
87d45c2a01
readme: add default shortcut for unicode input 2023-07-10 12:36:41 +02:00
Daniel Eklöf
19e37b17aa
readme: a few more places mentioning the default URL mode shortcut 2023-07-10 12:36:18 +02:00
CismonX
d2fcb5343f
input: add basic support for touchscreen input
Closes #517
2023-07-05 16:22:28 +02:00
Daniel Eklöf
64b6b5d2a7
config: dpi-aware: remove ‘auto’ value, and default to ‘no’
We now default to scaling fonts using the scaling factor, not monitor
DPI.

The ‘auto’ value for dpi-aware has been removed.

Documentation (man pages and README) have been updated to reflect the
new default.
2023-06-29 15:38:23 +02:00
Daniel Eklöf
dfabc5d754
readme/foot.1: mention that we now need “-d info” to get log output 2022-11-23 16:27:50 +01:00
Daniel Eklöf
bdb79e8b9f
osc: add support for OSC 133;A (prompt markers)
This patch adds support for the OSC-133;A sequence, introduced by
FinalTerm and implemented by iTerm2, Kitty and more. See
https://iterm2.com/documentation-one-page.html#documentation-escape-codes.html.

The shell emits the OSC just before printing the prompt. This lets the
terminal know where, in the scrollback, there are prompts.

We implement this using a simple boolean in the row struct ("this row
has a prompt"). The prompt marker must be reflowed along with the text
on window resizes.

In an ideal world, erasing, or overwriting the cell where the OSC was
emitted, would remove the prompt mark. Since we don't store this
information in the cell struct, we can't do that. The best we can do
is reset it in erase_line(). This works well enough in the "normal"
screen, when used with a "normal" shell. It doesn't really work in
fullscreen apps, on the alt screen. But that doesn't matter since we
don't support jumping between prompts on the alt screen anyway.

To be able to jump between prompts, two new key bindings have been
added: prompt-prev and prompt-next, bound to ctrl+shift+z and
ctrl+shift+x respectively.

prompt-prev will jump to the previous, not currently visible, prompt,
by moving the viewport, ensuring the prompt is at the top of the
screen.

prompt-next jumps to the next prompt, visible or not. Again, by moving
the viewport to ensure the prompt is at the top of the screen. If
we're at the bottom of the scrollback, the viewport is instead moved
as far down as possible.

Closes #30
2022-06-16 19:02:10 +02:00
Daniel Eklöf
aa4c7c5a30
config: add ctrl+shift+v and XF86 paste to SEARCH_CLIPBOARD_PASTE
We now bind ctrl+v, ctrl+shift+v, ctrl+y and XF86Paste to pasting from
the clipboard into the scrollback search buffer.

Why all these? Because we can, and because all are common shortcuts
for pasting:

* ctrl+v: “normal” apps use this by default
* ctrl+shift+v: used in terminals (including foot)
* ctrl+y: Emacs
* XF86Paste: special keyboard key, for pasting
2022-04-26 20:37:30 +02:00
Daniel Eklöf
4ca0407945
raedme: add a reference to foot-ctlseq(7) 2022-04-23 11:11:34 +02:00
Daniel Eklöf
ce4fd6df3f
readme: add OSC 22 2022-04-23 11:10:37 +02:00
Daniel Eklöf
ae2999740e
readme: default foot.ini is now installed to /etc/xdg/foot/foot.ini 2022-04-23 11:10:09 +02:00
Merlin Büge
ee6007aa07 doc: fix some small typos 2022-04-06 15:46:59 +02:00
Max Gautier
4ec172a4ad Document socket activation feature
- Particular mention to included systemd user units
2022-02-26 16:09:30 +01:00
Daniel Eklöf
c7836bcd90
readme: add URL mode to the list of keyboard shortcuts 2022-01-27 18:49:04 +01:00
Daniel Eklöf
0c363b83bf
readme: add the new XF86{Copy,Paste} keyboard shortcuts 2022-01-27 18:48:51 +01:00
Daniel Eklöf
da9d732855
readme: document XTGETTCAP behavior 2022-01-14 13:41:17 +01:00
Daniel Eklöf
74cca03976
readme: add GitHub Sponsors link 2021-10-31 14:24:17 +01:00
Daniel Eklöf
4ffa37e619
readme: reporting bugs: move “search existing issues” 2021-10-16 15:29:57 +02:00
Daniel Eklöf
2a9c667650
readme: reporting bugs: re-order and tweak
* Tell people to search existing bugs first (open + closed)
* Re-order instructions: most important ones first
2021-10-16 15:22:40 +02:00
Daniel Eklöf
62e67a26f5
ci: codeberg CI 2021-10-10 18:10:09 +02:00
Daniel Eklöf
fb77637eb9
term: only scale using DPI if *all* monitors have a scaling factor or one
With dpi-aware=auto (the default), scale fonts using DPI *only*
if *all* available monitors have a scaling factor of one.

The idea is this: if a user, with multiple monitors, have enabled
scaling on *at least* one monitor, he/she has most likely done so to
match the size of his/hers other monitors.

For example, if the user has one monitor with a scaling factor of one,
and another one with a scaling factor of two, he/she expects things to
be twice as large on the second monitor.

If we (foot) scale using DPI on the first monitor, and using the
scaling factor on the second monitor, foot will *not* look twice as
big on the second monitor (this was the old behavior of
dpi-aware=auto).

Part of #714
2021-09-24 22:07:47 +02:00
Daniel Eklöf
49d02bb389
readme: avoid having two “see...” right next after each other 2021-09-22 22:01:54 +02:00
Craig Barnes
a37109e5f6 readme: change "32bpp" to "24bpp" in features list
This is somewhat ambiguous, but in a terminal context "True Color"
is usually synonymous with 24-bit RGB (as opposed to 32-bit RGBA).
2021-08-12 13:10:49 +01:00
Daniel Eklöf
075290deb6
readme: mention XTVERSION 2021-07-25 10:50:24 +02:00
Daniel Eklöf
6b6abb0419
readme: add OSC-9 to list of supported OSC sequences 2021-07-24 11:02:06 +02:00
Knut Anders Hatlen
9a8c9b649a readme: fix a typo 2021-07-23 21:09:49 +02:00
Daniel Eklöf
246c7ffc0f
readme: add OSC 8, 17, 19, 117, 119 and 777 to list of supported OSC 2021-05-26 22:45:48 +02:00
Daniel Eklöf
05160e61c5
readme: add link to IRC logs 2021-05-24 19:07:53 +02:00
Daniel Eklöf
ac33f24b02
readme: remove my name from the IRC details 2021-05-20 07:45:21 +02:00
Craig Barnes
18364fd547 readme/doc: update details for IRC channel 2021-05-19 22:30:08 +01:00
lord
259d6e26e1 Add TrueColors support to Readme 2021-05-02 09:57:01 +02:00
Daniel Eklöf
fbe6d8b4d0
readme: s/if/is 2021-04-22 11:14:47 +02:00
Daniel Eklöf
65012609b8
readme: dpi & fonts: focus on *current* behavior
The text was describing the original behavior, where output scaling
was completely ignored, and tacked on a “btw, starting with
foot-1.6...”.

Now, simply describe the current behavior, and be more clear about
_how_ dpi-aware can be changed.
2021-03-27 12:28:39 +01:00
Daniel Eklöf
0b1af321d9
readme: mention that the key sequence alphabet can be configured 2021-02-13 11:45:54 +01:00
Daniel Eklöf
4b67394a5f
readme: document the new URL mode 2021-02-07 16:33:35 +01:00
Daniel Eklöf
69847a19d6
readme: add URL mode to the feature list 2021-02-07 16:33:33 +01:00