CatsDeservePets
6fcec86740
refactor: use slices.Backward for reverse iteration ( #2639 )
2026-07-10 02:08:16 +00:00
valoq
cedad0af7e
fix: sanitize error message for rulerfile option ( #2590 )
2026-05-25 14:32:16 +10:00
valoq
9a60c5c89a
refactor: cleanup and document sanitization functions ( #2589 )
...
* refactor sanitization functions
* reorder functions
* cleanup
* document sanitize functions
2026-05-25 12:51:29 +10:00
valoq
0ca4d75b9b
fix: sanitize names on file operations ( #2546 )
...
* fix: sanitize names on file operations
* dont strip internal colors
* minimize sanitation
* cover history entries
* minor improvement
* fix patch
* optimize patch
2026-05-19 11:27:02 +10:00
valoq
2cd4ba016a
fix: prevent loading previews with outdated dimensions ( #2491 )
...
* fix preload size
* fix race
* skip height check
* fix loaded previews
2026-05-15 14:05:57 +10:00
valoq
a88d55e077
refactor: migrate from uniseg to displaywidth ( #2559 )
...
* migrate from uniseg to displaywidth
* use firstGraphemeCluster
2026-05-01 14:06:58 +10:00
valoq
54bcbca6ce
fix: filter newline ( #2526 )
2026-04-28 07:40:10 +02:00
valoq
f83a0d0eed
fix: align completion matches containing terminal sequences
2026-04-13 23:19:12 +10:00
valoq
1e470c524d
fix: apply filename sanitization in more places ( #2507 )
2026-04-12 18:16:46 +02:00
valoq
7a3591c834
sanitize input data ( #2467 )
...
* sanitize input data
* fix test
* relax filter on customInfo
2026-04-08 02:04:30 +02:00
David Pedersen
21ac6c1441
refactor: make ui drawRuler slightly more efficient ( #2475 )
2026-04-01 10:50:06 +11:00
Joe Lim
3db6242620
feat!: deprecate rulerfmt/statfmt options ( #2477 )
...
* feat!: deprecate `rulerfmt`/`statfmt` options
These will be replaced with the ruler file (specified using the
`rulerfile` option).
* Add deprecation comments to involved functions
* Update `CHANGELOG.md`
2026-03-31 15:23:28 +11:00
CatsDeservePets
6d5b9f924e
perf: preallocate options map in drawRulerFile ( #2469 )
2026-03-25 16:55:04 +01:00
CatsDeservePets
2e724a98db
refactor: improve readability of readNormalEvent ( #2468 )
2026-03-25 16:33:33 +01:00
CatsDeservePets
4ad3827511
refactor: simplify listing functions ( #2465 )
2026-03-24 23:57:13 +01:00
valoq
e363f76601
fix: filter all character dangerous sequences internally ( #2459 )
2026-03-24 11:58:58 +11:00
CatsDeservePets
f1a1097db5
feat: add borderstyle option ( #2445 )
2026-03-21 02:49:09 +01:00
Joe Lim
d85070f69d
refactor: simplify loop in stripTermSequence ( #2444 )
...
* refactor: simplify loop in `stripTermSequence`
* more cleanup
2026-03-20 10:51:45 +11:00
Joe Lim
23ea7abd51
fix: prevent newline characters from being printed ( #2428 )
2026-03-11 11:56:44 +11:00
Joe Lim
1afe4ff441
refactor: use string for command line buffers ( #2412 )
2026-03-04 22:24:06 +11:00
Joe Lim
d082410b3d
chore: remove go-runewidth as dependency ( #2411 )
...
* Add truncate functions
* Replace code for printing command line
* Replace code in truncateFilename function
* Remove restriction for truncatechar to be width 1
* Replace code in printdir function
* Replace code in listmatches
* Remove go-runewidth
* Revert truncatechar limitation change
2026-03-04 19:32:46 +11:00
Joe Lim
fd2babd72e
feat: apply loading message delay for directories ( #2410 )
...
* refactor preview timer
* add preview timer for directory
* adjust times
* typo
* create constant for preview loading delay
* Update `CHANGELOG.md`
2026-03-04 18:03:26 +11:00
Joe Lim
6ec60cf9d8
chore!: change to use v3 of Tcell ( #2286 )
...
* Remove SGR 8
* Remove `<backspace2>`
* Migrate to v3 of Tcell
* Refactor key handling functionality
* Bump Tcell version
* Replace `SetContent` API with `Put` API
* bump dependencies
* Use new color package
* Fix cursor position for grapheme clusters
* Some editing fixes to support grapheme clusters
* Ignore carriage return when printing
* Move grapheme cluster handling into misc.go
* Fix length of filenames containing emoji
* Use slices.Concat
* Use `string` instead of `[]rune` for `win.print`
* Add note about modifier limitations
* Update `CHANGELOG.md`
2026-03-04 17:02:26 +11:00
Joe Lim
3637f5f3f8
fix!: use int64 for file sizes ( #2397 )
...
* fix!: use `int64` for file sizes
Unfortunately Go templates cannot unconditionally dereference pointers,
so we use a magic value of -1 instead of a nil pointer to indicate a
file size that doesn't exist. This also means having to change
surrounding code, for example the `humanize` function.
* Update `CHANGELOG.md`
2026-02-26 00:38:09 +11:00
CatsDeservePets
9ab0fd4de0
fix: improve preview message alignment ( #2400 )
...
* fix: improve message alignment
* docs: update `CHANGELOG.md`
2026-02-24 00:23:47 +01:00
CatsDeservePets
34ed26821c
docs: annotate ui struct fields ( #2402 )
2026-02-22 22:01:45 +01:00
CatsDeservePets
59494d1ff8
feat: add numbercursorfmt option ( #2395 )
...
* feat: add `numbercursorfmt` option
* docs: add documentation
* docs: update `CHANGELOG.md`
2026-02-18 15:18:28 +01:00
CatsDeservePets
a32371088b
feat: add All field to ruler file ( #2376 )
2026-02-08 07:23:54 +01:00
Joe Lim
78fe1bd391
fix: use ! as error indicator for dircounts ( #2372 )
...
* fix: use `!` as error indicator for dircounts
* Update `CHANGELOG.md`
2026-02-07 18:41:04 +11:00
Joe Lim
1ed9e96aa2
fix: clean preview if directory is empty ( #2369 )
...
* fix: clean preview if directory is empty
* Update `CHANGELOG.md`
2026-02-07 18:27:24 +11:00
CatsDeservePets
60deb6e43b
docs: normalize Go doc comments ( #2359 )
2026-01-25 01:14:27 +01:00
Joe Lim
c7be3c4434
refactor: use *uint64 for dir size and count ( #2353 )
...
* refactor: use `*uint64` for dir size and count
* no dircount should be ordered before dircount of 0
2026-01-22 13:11:18 +11:00
SPFab
fa8e3788de
Show directory size in ruler ( #2343 )
...
* Added dirSize to Size field and changed humanize function accordingly
* Seperated size into own fields and changed type to use pointers
* Added Documentation and Changelog
2026-01-20 13:01:23 +11:00
Joe Lim
b5d981ad4a
fix: improve width calculation for ratios option ( #2347 )
...
* fix: improve width calculation for `ratios` option
* Update `CHANGELOG.md`
* round window ends instead of floor
* grammar
2026-01-14 11:13:06 +11:00
CatsDeservePets
48689f9eab
docs: improve code comments ( #2349 )
...
* docs: annotate `app` struct fields
* docs: annotate `file` struct fields
* docs: improve existing code comments
* docs: add new code comments
2026-01-14 00:16:23 +01:00
Joe Lim
8ed089cc25
feat!: Load ruler file dynamically ( #2338 )
...
* feat!: Load ruler file dynamically
* Add documentation
* Fix bug with custom filename
* Update `CHANGELOG.md`
* Add docs for `statfmt`
2026-01-12 17:48:19 +11:00
SPFab
190f5369a2
feat: add new fields for the ruler file ( #2329 )
2026-01-11 18:58:37 +01:00
Joe Lim
733e8d6b55
refactor: remove init flag ( #2313 )
...
* refactor: remove init flag
* fix bugs
* cleanup of `addcustominfo`
* use `getDir` for accessing directories from cache
* Avoid trimming `addcustominfo` value
2026-01-05 13:15:09 +11:00
CatsDeservePets
e1016bbd74
refactor: adjust number column alignment ( #2331 )
2026-01-01 01:38:08 +01:00
CatsDeservePets and Joe Lim
165c25b743
feat: add mergeindicators option ( #2330 )
...
* feat: add `mergeindicators` option
* docs: update `CHANGELOG.md`
* docs: add documentation
* style: fix typo
Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com >
---------
Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com >
2025-12-31 07:36:31 +01:00
CatsDeservePets
eb01cb7c7b
style: deduplicate types in function signatures ( #2322 )
2025-12-27 06:24:15 +01:00
CatsDeservePets
d8b9026ef2
style: combine related var declarations ( #2321 )
2025-12-27 05:27:16 +01:00
Joe Lim
cdbaa972a6
fix: reset sixel state if new file is loading ( #2301 )
...
* fix: reset sixel state if new file is loading
* Update `CHANGELOG.md`
2025-12-13 17:49:19 +11:00
Joe Lim
acb85d65c8
refactor: avoid storing current preview separately ( #2300 )
2025-12-12 16:59:32 +11:00
Joe Lim
6402bafb9a
refactor: Move gEscapeCode to where it is used ( #2285 )
2025-12-02 18:23:11 +11:00
CatsDeservePets
6e804b1ade
Use ls-style permission strings ( #2270 )
2025-11-18 01:55:33 +01:00
Carlo Teubner
8da478bb86
Check errors and enable errcheck in lint config ( #2242 )
2025-11-10 10:17:18 +01:00
CatsDeservePets
0283b2a71a
Hide already typed keys inside showbinds menu ( #2249 )
2025-11-07 02:08:52 +01:00
CatsDeservePets
e45412d363
Add OSC 8 support ( #2243 )
...
* Add `OSC 8` support
* Rename functions
* Update tests
* Support grouped links
* Update `CHANGELOG.md`
* Move terminal sequence parsing to new file
2025-11-03 15:55:29 +01:00
Joe Lim
928bf9e3bd
Refactor previewable logic ( #2235 )
2025-10-28 15:27:59 +11:00