2615 Commits

Author SHA1 Message Date
David Rubin
a578ec342f forgot to update other backends 2023-11-03 14:20:24 -07:00
David Rubin
6e575d9035 configs added 2023-11-03 13:20:26 -07:00
David Rubin
44073e4c98 add basic functionality 2023-11-03 10:58:56 -07:00
Lukáš Dvořák
8774a73302 update comment 2023-11-03 18:30:42 +01:00
Lukáš Dvořák
5224b6157c fix: posToViewPort when using balanced padding enabled 2023-11-03 18:28:34 +01:00
Gregory Anders
ffaf1f6a6f terminfo: add missing % character after conditional
Not sure this is _strictly_ necessary, but according to terminfo(5) a
conditional (`%?`) should have a closing `%` character after the "else"
part. Adding it just in case some parser somewhere depends on this.
2023-11-03 08:53:36 -07:00
Raiden1411
c9110b331d Merge remote-tracking branch 'upstream/main' 2023-11-03 13:47:55 +00:00
Raiden1411
efdc58ecbb Merge remote-tracking branch 'upstream/main' 2023-11-03 09:38:45 +00:00
xdBronch
bbdfcfe5bd fix build with libadwaita disabled 2023-11-03 03:20:35 -04:00
Mitchell Hashimoto
1235c33db2 Merge pull request #794 from hqnna/main
Add option to enable or disable libadwaita
2023-11-02 22:14:59 -07:00
hanna
63fe99809f remove hard dependency on libadwaita 2023-11-02 21:54:05 -07:00
Mitchell Hashimoto
2275768383 font: if a codepoint is emoji presentation, prefer that for shaping
Fixes #787
2023-11-02 21:46:50 -07:00
Mitchell Hashimoto
bbf333c5c6 Merge pull request #783 from xdBronch/glfw-drop
add support for file dropping to glfw runtime
2023-11-02 21:35:02 -07:00
Mitchell Hashimoto
657111c410 apprt/glfw: small line length fixes 2023-11-02 21:34:43 -07:00
Mitchell Hashimoto
0f7c534454 Merge pull request #790 from mitchellh/slonik-az/keybind-esc-seq
feat: keybind escape sequence action "esc:text" similar to "csi:text"
2023-11-02 21:30:00 -07:00
Hanna
2d7e2c8345 Integrate libadwaita for the gtk backend (#792)
* When using gtk as the backend, link libadwaita

* Update c.zig

* Use libadwaita's theme manager for gtk

* update the documentation for window-theme

* build: add libadwaita to the nix devshell

* forgot to properly import libadwaita

* apprt/gtk: adwaita style change

---------

Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2023-11-02 21:29:29 -07:00
Leo Razoumov
dc527bd2cb feat: keybind escape sequence action "esc:text" similar to "csi:text" 2023-11-02 17:50:17 -04:00
Raiden1411
59daecc304 feat(actions): add new list-keybinds action 2023-11-02 21:34:14 +00:00
Mitchell Hashimoto
cc6985d62d Merge pull request #774 from mitchellh/update-undercurl
feat: update undercurl thickness and wave height
2023-11-01 17:19:54 -07:00
xdBronch
008736c3bf add support for file dropping to glfw runtime 2023-11-01 19:19:30 -04:00
Mitchell Hashimoto
6663c13a66 core: if a font-style is specified, do not restrict style category 2023-11-01 09:49:25 -07:00
Matthew Winter
a81c7b7bb2 feat: improve variable naming 2023-11-01 19:04:20 +11:00
Matthew Winter
212b30a163 feat: change minimum height to 2 2023-11-01 11:51:32 +11:00
Chinmay Dalal
481af8039b disable zig fmt for aligned comments 2023-10-31 23:08:51 +05:30
Mitchell Hashimoto
59a53251cf apprt/gtk: create new tab after current tab
This behaves the same as macOS, and personally I prefer this behavior
because when I create a new tab, it is often contextual to what I'm
currently working on and keeping the tab nearby feels right.
2023-10-31 09:49:39 -07:00
Mitchell Hashimoto
0659a98867 Merge pull request #772 from mitchellh/macos-confirm-quit
macos: refactor main terminal window, split state, fix some bugs
2023-10-31 09:42:28 -07:00
Matthew Winter
d7a16e0245 feat: update undercurl thickness and wave height 2023-10-31 21:53:04 +11:00
Matthew Winter
60b69a32d0 feat: update undercurl thickness and wave height 2023-10-31 21:23:53 +11:00
Chinmay Dalal
4a0e53c1cc expose selectOutput via ctrl+triple click
closes #752
2023-10-30 21:46:59 +05:30
Mitchell Hashimoto
9b134a60c1 apprt/embedded: add API to detect if a single surface needs quit confirm 2023-10-30 09:06:23 -07:00
Mitchell Hashimoto
3a5f12b8ab font: box sprite use saturated subtraction
Fixes #757

The x/y is unsigned (as it should be, since top-left is 0,0). In the
case of a very small grid size and certain thickness settings, its
possible to overflow. In this scenario, the only reasonable thing to do
is just clamp to 0 because some sprites are going to look weird with
small enough grids anyways.
2023-10-30 09:01:14 -07:00
Mitchell Hashimoto
e188aba7f4 apprt/gtk: if no parent is set on new window, do not inherit wd 2023-10-30 08:50:58 -07:00
Mitchell Hashimoto
2c9420b742 Merge pull request #767 from dvorakluk/fix/padding-balance
fix window-padding-balance in combination with explicit padding
2023-10-30 08:45:13 -07:00
Lukáš Dvořák
bca7140248 balanced padding cleanup 2023-10-30 14:56:02 +01:00
Lukáš Dvořák
6887ea7e53 fix window-padding-balance in combination with explicit padding 2023-10-30 13:46:19 +01:00
Chinmay Dalal
bccf1216bc exit early when cursor is on a prompt line 2023-10-30 12:42:58 +05:30
Chinmay Dalal
0920ab08cd handle cursor on a prompt line 2023-10-30 11:52:35 +05:30
Chinmay Dalal
3ff20c7418 add tests 2023-10-30 10:19:21 +05:30
Chinmay Dalal
fae356be5a implement selecting output a ScreenPoint is in
This works by finding prompt markers provided by shell integration
Does not yet close #752 as this is not exposed
2023-10-30 01:30:43 +05:30
Mitchell Hashimoto
c182093934 Merge pull request #762 from mitchellh/mattpolzin-misc-typos
Just a couple of minor typos discovered while getting started.
2023-10-29 12:55:12 -07:00
Mitchell Hashimoto
155cd099ba terminfo: add E3 for clear scrollback
`clear(1)` uses this to clear scrollback unless supressed with `-x`.
2023-10-29 12:52:33 -07:00
Mitchell Hashimoto
68275d6afa config: update some comments around pwd inheritance
Fixes #760
2023-10-29 12:02:19 -07:00
Mitchell Hashimoto
177aaea1d3 Merge pull request #753 from mitchellh/update-undercurl
feat: update undercurl with antialiasing
2023-10-28 21:07:42 -07:00
Matthew Winter
58f1653a16 feat: cleanup types and reduce casting 2023-10-29 14:17:46 +11:00
Mathew Polzin
d5776ff017 Fix typo in Config.zig
key scan -> keys can
2023-10-28 18:54:32 -05:00
Mitchell Hashimoto
06edc311a1 renderer/opengl: reclaim cell buffer memory when resizing 2023-10-28 11:38:20 -07:00
Mitchell Hashimoto
95f0b4779d renderer/metal: reclaim cell buffer memory when resizing 2023-10-28 11:30:02 -07:00
Mitchell Hashimoto
a249e5973d font/underline: some additional type annotations 2023-10-28 10:40:51 -07:00
Matthew Winter
6d971de87a feat: add x_facter comment and remove old code 2023-10-29 03:13:17 +11:00
Matthew Winter
a5eb746cf5 feat: update undercurl with antialiasing 2023-10-29 02:49:31 +11:00