Commit Graph

8 Commits

Author SHA1 Message Date
a
3a4e096d9b
Terminal compatibility batch
- Answer kitty keyboard protocol queries (CSI ?u -> CSI ?0u) and silently
  accept push/pop/set so clients detect the lack of support without a
  timeout, and so st stops logging them as unknown sequences.
- XTVERSION (CSI >0q) reports st(VERSION).
- DECRQM (CSI ?Ps$p / CSI Ps$p) reports the state of the common private
  and ANSI modes including 2026 (synchronized updates) and 2004.
- csiparse() now recognises the >, < and = private prefixes.
- New OSC7_OSC8_PATCH: OSC 7 stores the shell's working directory in
  term.cwd; OSC 8 hyperlinks are stored per cell and, with the
  openurlonclick patch, are clickable and take precedence over URL text
  detection.
- kitty: Unicode placeholder cells are now blitted from one cached scaled
  pixmap per virtual placement instead of rescaling every cell on every
  redraw.
2026-09-06 22:36:33 -05:00
Stein Gunnar Bakkeby
3b87b07404
Adding reflow patch (#120) 2024-03-13 10:33:51 +01:00
Bakkeby
e88f2bf20c Removing the VIM browse patch.
The general reasoning is that the vim browse patch is very invasive,
has a high level of complexity, and is incompatible with a significant
number of other patches and it complicates further maintenance.

Additionally the patch has its own scrollback mechanism which seemingly
did not work properly - and nobody seems to have complained about this
since the patch was added back in May 2021.

If you want to try out the vim browse patch then I would recommend having
a play around with the patch author's own build that has this patch
integrated:
   - https://github.com/juliusHuelsmann/st-history-vim
   - https://github.com/juliusHuelsmann/st

Alternatively a tag has been added to this repository that refers to the
last commit that still has the vim browse patch:
   - https://github.com/bakkeby/st-flexipatch/tree/VIM_BROWSE_PATCH
2024-03-07 22:35:11 +01:00
Bakkeby
bdeb1e7c4c openurlonclick: using posix_spawnp instead of system ref. comments in #76 2022-08-11 15:04:44 +02:00
Bakkeby
2eca262969 openurlonclick: fix for edge case that can cause a crash 2022-08-11 09:13:29 +02:00
veltza
3eb170a9a5 Add scrollback support to the openurlonclick patch
The openurlonclick and scrollback patches are now working together,
so links can be clicked in the scrollback buffer too. This update also
adds url underlining and other improvements to the openurlonclick patch.

The full list of changes in the openurlonclick patch:
- Adds scrollback support
- Adds modkey option
- Better url detection
- Underlines url when the mouse pointer is over a link
- Opens a browser as a background process, so it won't lock the terminal anymore
- Fixes a segmentation fault bug
2022-08-10 21:32:44 +03:00
Komari Spaghetti
45476fccb3 Fix buffer overflows in openurlonclick.c 2021-08-03 16:22:00 +02:00
bakkeby
ee4cdc8d6e Adding openurlonclick patch ref. #32 2021-07-07 10:08:43 +02:00