c88e2dd975
fix: don't leak Buffer.file_path
2025-08-05 15:24:18 +02:00
b97b8e8fb7
feat: auto hide tabs widget if there are less than {n} tabs
...
This can be configured via an integer argument in the bar widget descriptor, or
via the tab styles configuration file. A value of 0 will effectively disable
auto hide.
2025-08-03 17:08:53 +02:00
31e1e5091b
fix: crash in tabs widget when buffers are destroyed during tab switch
2025-08-02 22:50:11 +02:00
efdad96054
refactor: improve create pattern to avoid leaks
2025-07-19 00:03:30 +02:00
53ea08a41e
fix: don't truncate scratch buffer names in tabs and terminal title
2025-06-24 12:21:10 +02:00
aa568dfd5e
feat: add status bar widget parameter support with parameters for linenumber and spacer widgets
...
linenumber widgets may have three parameters: pad width (int), pad value (space/zero) and
digit style (ascii/digital/subscript/superscript). eg `5,zero,digital`
spacers may have one parameter: width (int)
2025-03-25 20:50:11 +01:00
dceb433e9e
Merge branch 'master' into zig-0.14
2025-02-28 21:43:10 +01:00
6f5efd2744
fix(tabs): refresh hover on tab changes
2025-02-27 15:53:11 +01:00
53045123c6
build: update to zig 0.14.0-dev.3039
2025-02-04 22:59:18 +01:00
594ea40c4e
feat(tabs): don't update tab styles config on startup
...
It is updated when calling open_tabs_style_config, so there is no
need to update it on every start.
2025-01-30 14:07:52 +01:00
4cd06e34fb
feat(tabs): add open_tabs_style_config command
2025-01-30 14:06:59 +01:00
2371140b3f
feat(tabs): don't write tab styles config if it doesn't already exist
2025-01-30 13:14:00 +01:00
ae5b528a08
feat(tabs): use more widely available glyphs for tab styling
2025-01-30 12:13:46 +01:00
917462a6e3
feat(tabs): improve tab styling and make tabs user stylable
2025-01-29 20:01:51 +01:00
939537ed84
feat(buffers): add support for ephemeral buffers
...
Ephemeral buffers are not hidden and kept when closed. Ephemeral buffers
can be turned into regular buffers by saving them with save_as.
2025-01-27 18:59:13 +01:00
0f6be55dbd
refactor: improve usefullness of trace-level 1
2025-01-26 17:01:33 +01:00
43c897141f
feat(tabs): use tabs styles from theme
2025-01-25 21:46:54 +01:00
434025da33
fix(tabs): alpha rendering of inactive tabs
2025-01-25 11:03:12 +01:00
5dd47f7248
feat(tabs): complete tabs widget and next_/previous_tabs
2025-01-24 23:26:41 +01:00
d7b48b40f1
feat(tabs): start work on a tabbar widget
2025-01-23 22:32:08 +01:00