Commit Graph
1498 Commits
Author SHA1 Message Date
CatsDeservePets 941866b62f docs: mention differences to Vim's key notation (#2417) 2026-03-05 02:31:25 +01:00
Joe Lim 0bbeae73df fix: advance cursor during cmd-transpose (#2413)
* fix: advance cursor during `cmd-transpose`

* Update `CHANGELOG.md`
2026-03-04 23:37:37 +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
dependabot[bot] a446855e76 chore(deps): bump actions/download-artifact from 7 to 8 (#2403)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 12:34:12 +11:00
dependabot[bot] 45b15b7b46 chore(deps): bump actions/upload-artifact from 6 to 7 (#2404)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 12:34:02 +11:00
Joe Lim ebaceb42f7 docs: regenerate documentation (#2405) 2026-02-28 11:56:05 +11:00
dependabot[bot] 96c14691e3 chore(deps): bump github.com/mattn/go-runewidth from 0.0.19 to 0.0.20 (#2396)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.19 to 0.0.20.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.19...v0.0.20)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-version: 0.0.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-26 01:37:28 +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
dependabot[bot] 214965b5e7 chore(deps): bump github.com/gdamore/tcell/v2 from 2.9.0 to 2.13.8 (#2361)
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.9.0 to 2.13.8.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv3.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.9.0...v2.13.8)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-version: 2.13.8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 23:28:01 +01:00
CatsDeservePets 34ed26821c docs: annotate ui struct fields (#2402) 2026-02-22 22:01:45 +01:00
CatsDeservePets 34757604ab docs: update CHANGELOG.md (#2401)
Add missing reference and change wording.
2026-02-21 00:36:29 +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 b2f23e6078 docs: link to command line options in README.md (#2394) 2026-02-15 15:17:08 +01:00
CatsDeservePets 0348ed384d refactor: simplify isValidSortMethod (#2393) 2026-02-13 22:37:06 +01:00
CatsDeservePets c9052ff45d refactor: remove unnecessary os.Getpid() calls (#2392) 2026-02-13 03:12:17 +01:00
CatsDeservePets b83c65fabf refactor: simplify usage text formatting (#2391) 2026-02-13 02:48:36 +01:00
CatsDeservePets 5220cec2d0 refactor: simplify getOptsMap (#2390) 2026-02-12 01:53:18 +01:00
CatsDeservePets e1ccd35dad docs: mention conventional commits in CONTRIBUTING.md (#2389) 2026-02-12 00:12:18 +01:00
Joe Lim d158ca4afc docs: specify opts/cmds order in CONTRIBUTING.md (#2387)
* docs: specify opts/cmds order in `CONTRIBUTING.md`

* typo
2026-02-11 13:16:06 +11:00
dependabot[bot] 46b167b28b chore(deps): bump golang.org/x/term from 0.39.0 to 0.40.0 (#2384)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/term/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-11 12:40:47 +11:00
CatsDeservePets 1e7d666088 docs: improve wording in CHANGELOG.md (#2383) 2026-02-10 02:11:16 +01:00
CatsDeservePets 4b8281ea86 fix: avoid passing .git directories to on-load (#2382)
* fix: avoid passing `.git` directories to `on-load`

* docs: update `CHANGELOG.md`
2026-02-10 02:00:43 +01:00
CatsDeservePets 3a0b538d8b docs: unify spelling of macOS and PowerShell (#2378) 2026-02-08 23:03:30 +01:00
Joe Lim 89a6697d47 fix: check directory for changes during select (#2377)
* fix: check directory for changes during `select`

* Update `CHANGELOG.md`
2026-02-08 19:06:44 +11:00
CatsDeservePets a32371088b feat: add All field to ruler file (#2376) 2026-02-08 07:23:54 +01:00
CatsDeservePets 16b21e48f2 fix: update preview on visual-change (#2373) 2026-02-07 09:03:15 +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
Joe Lim 18ab3cf650 chore: prepare for r41 release (#2366) r41 2026-02-04 16:30:52 +11:00
CatsDeservePets 60deb6e43b docs: normalize Go doc comments (#2359) 2026-01-25 01:14:27 +01:00
Joe Lim 8a01b4a15e refactor: refer to completion output as longest (#2358) 2026-01-23 17:57:46 +11:00
Joe Lim 5bfc8de207 docs: add unreleased section for CHANGELOG.md (#2356) 2026-01-22 14:43:14 +11:00
Joe Lim 46266df1c3 docs: fix order of entries in CHANGELOG.md (#2355) 2026-01-22 14:15:17 +11:00
Joe Lim a01195a4d2 fix: apply position to root directory (#2354) 2026-01-22 13:24:54 +11: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
Joe Lim cc23e323ac docs: cleanup (#2352) 2026-01-20 13:12:01 +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
CatsDeservePets a96bdae71a docs: fix CHANGELOG.md (#2346) 2026-01-12 12:20:29 +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
dependabot[bot] d00fd5c752 chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0 (#2344) 2026-01-12 06:20:48 +01:00
SPFab 190f5369a2 feat: add new fields for the ruler file (#2329) 2026-01-11 18:58:37 +01:00
dependabot[bot] dd4be21e23 chore(deps): bump golang.org/x/sys from 0.39.0 to 0.40.0 (#2339)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/sys/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-10 00:05:02 +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 57f6ade1b7 fix: avoid surprising case changes in completions (#2336) 2026-01-03 00:44:12 +01:00