25a719382f
fix: store button click locations as signed values
2025-10-10 16:05:50 +02:00
e6cc1c35f9
fix: rendering of tab bar background
2025-10-10 15:38:49 +02:00
00bbeaedf9
feat: if buffer is dirty show save button in tabs instead of close
2025-10-09 21:12:15 +02:00
4e38d15878
feat: close buffer if tab close icon is clicked
2025-10-09 20:52:00 +02:00
ce87dcfa2b
refactor: pass relative click position to button click handlers
...
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
35ccf7f1df
feat: optionally customize tab clean indicator
2025-10-09 17:11:28 +02:00
52e29b7825
feat: add optional tab padding
2025-10-09 17:11:07 +02:00
94adc72283
feat: render close icon in tabs on hover
2025-10-09 16:50:29 +02:00
e2c0325a7a
fix: incorrect tab width when file type icons are turned on
2025-10-09 15:23:37 +02:00
78b29c321e
fix: don't render color for black or white file type icons in tabs
2025-10-09 14:33:09 +02:00
455565ee26
feat: add file type icons to tabs
...
Optionally disable icons in tabs with `file_type_icon = false` in `status.tabs.style.config`.
2025-10-09 14:01:49 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting
2025-10-08 14:18:03 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build
2025-09-25 22:01:29 +02:00
1ebdae310e
feat: save and restore tabbar state
2025-08-08 20:40:00 +02:00
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