Commit Graph

14 Commits (7cc8ea7efb2a8648d3931e162d53c02f36222c4e)

Author SHA1 Message Date
Mitchell Hashimoto 580f9f057b
convert t.screen to t.screens.active 2025-11-14 15:40:31 -08:00
Qwerasd 2384bd69cc style: use decl literals
This commit changes a LOT of areas of the code to use decl literals
instead of redundantly referring to the type.

These changes were mostly driven by some regex searches and then manual
adjustment on a case-by-case basis.

I almost certainly missed quite a few places where decl literals could
be used, but this is a good first step in converting things, and other
instances can be addressed when they're discovered.

I tested GLFW+Metal and building the framework on macOS and tested a GTK
build on Linux, so I'm 99% sure I didn't introduce any syntax errors or
other problems with this. (fingers crossed)
2025-05-26 21:50:14 -06:00
Mitchell Hashimoto 5c469a0b44
renderer: render lock for password input 2024-09-18 11:14:37 -07:00
Mitchell Hashimoto 37d19b3cef
Merge pull request #2109 from edmz/block_hollow
Config: cursor-style can bet set to block_hollow
2024-08-18 15:08:08 -07:00
Eduardo Dominguez 2e70ad20df Config: cursor-style can bet set to block_hollow
`cursor-style` can now also be set to `block_hollow`, no other changes
in behaviour are added.
2024-08-16 15:25:44 -06:00
Mitchell Hashimoto b660380b01
renderer: yeet usingns 2024-08-16 10:43:32 -07:00
Łukasz Niemier f9be02a20f chore: clean up typos 2024-08-05 13:56:57 +02:00
Mitchell Hashimoto 49e8acbcd2
core: configurable scrollback limit 2024-03-22 20:27:59 -07:00
Mitchell Hashimoto 9b4ab0e209
zig build test with renamed terminal package 2024-03-22 20:27:44 -07:00
Mitchell Hashimoto 10989ae7b0
renderer: implement underline cursor 2023-09-10 22:05:47 -07:00
Mitchell Hashimoto 8b26e93cb5
renderer: update some code comments 2023-09-10 12:18:38 -07:00
Mitchell Hashimoto afacc2ca9e
renderer: cursor style unit tests 2023-09-09 20:48:56 -07:00
Mitchell Hashimoto d9cfd00e9f
Big Cursor State Refactor
This makes a few major changes:

  - cursor style on terminal is single source of stylistic truth
  - cursor style is split between style and style request
  - cursor blinking is handled by the renderer thread
  - cursor style/visibility is no longer stored as persistent state on
    renderers
  - cursor style computation is extracted to be shared by all renderers
  - mode 12 "cursor_blinking" is now source of truth on whether blinking
    is enabled or not
  - CSI q and mode 12 are synced like xterm
2023-09-09 20:19:37 -07:00
Mitchell Hashimoto c1b70cb788
metal: devmode 2022-10-31 09:44:37 -07:00