Commit Graph
1535 Commits
Author SHA1 Message Date
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 a966b1387c docs: update CONTRIBUTING.md (#2476)
* docs: fix outdated section name

* docs: improve grammar

* docs: make `lf` stand out

* docs: add guidance for proposing new features

* docs: improve punctuation
2026-03-29 01:02:47 +01:00
Joe Lim c5c3de643e fix: remove sixel height override for tmux (#2474)
* fix: remove sixel height override for tmux

* Update `CHANGELOG.md`
2026-03-27 12:03:32 +11:00
valoq 1aefc1f010 fix: scan for end of CSI terminal sequences (#2466)
* fix csi parser

* fix formatting
2026-03-26 10:16:40 +11:00
CatsDeservePets 27d476f376 refactor: simplify list command (#2471) 2026-03-25 21:29:32 +01: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
Joe Lim 5d5387b213 refactor: use state machine for readLines (#2462) 2026-03-24 14:44:38 +11:00
Joe Lim c9e363051d Update CHANGELOG.md (#2461) 2026-03-24 12:42:44 +11:00
valoq e363f76601 fix: filter all character dangerous sequences internally (#2459) 2026-03-24 11:58:58 +11:00
valoq 644b8196bf fix: add readline limit (#2458) 2026-03-24 11:14:00 +11:00
CatsDeservePets d2f4cadd37 refactor: simplify path declaration in position (#2457) 2026-03-23 02:31:49 +01:00
CatsDeservePets b879f822af refactor: remove unnecessary named return (#2456) 2026-03-23 02:27:46 +01:00
CatsDeservePets e4f5907422 refactor: simplify currSelections (#2455) 2026-03-23 02:24:29 +01:00
CatsDeservePets 3b025160c4 refactor: replace reflect.DeepEqual with slices.Equal (#2454) 2026-03-23 02:18:54 +01:00
CatsDeservePets 9b3c4d5d2f refactor: simplify writeMarks and writeTags (#2453) 2026-03-23 02:11:58 +01:00
CatsDeservePets 5a15e4c4ca refactor: simplify loop using slices.Contains (#2451) 2026-03-22 02:15:38 +01:00
CatsDeservePets f63d1b599c refactor: simplify isExecutable (#2450) 2026-03-22 01:09:49 +01:00
CatsDeservePets d9bfc11761 docs: add note about roundbox option (#2449) 2026-03-22 00:32:55 +01:00
CatsDeservePets 551f9d3418 fix(windows): use isExecutable for icon and color lookup (#2448)
* fix(windows): use `isExecutable` for icon and color lookup

* perf(windows): avoid re-parsing `PATHEXT` in `isExecutable`

* docs: update `CHANGELOG.md`
2026-03-21 04:09:20 +01: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
CatsDeservePets f940c9b564 docs: fix broken formatting (#2442) 2026-03-19 03:33:27 +01:00
CatsDeservePets bf8486f617 feat: add terminalcursor option (#2441) 2026-03-19 01:43:30 +01:00
CatsDeservePets 29baa994de docs: describe mouse buttons 4 and 5 (#2439) 2026-03-17 00:23:29 +01:00
CatsDeservePets 2aadcf427b docs: update example to use correct cmd (#2437) 2026-03-16 07:39:42 +01:00
CatsDeservePets 5e178d7f3e style: add missing newline (#2436) 2026-03-16 07:26:28 +01:00
dependabot[bot] 30bb77409d chore(deps): bump golang.org/x/term from 0.40.0 to 0.41.0 (#2430) 2026-03-12 03:28:59 +01:00
Joe Lim 402c7dd306 fix: handle empty argument for select (#2429)
* fix: handle empty argument for `select`

* Update `CHANGELOG.md`
2026-03-11 15:19:03 +11:00
Joe Lim 23ea7abd51 fix: prevent newline characters from being printed (#2428) 2026-03-11 11:56:44 +11:00
Joe Lim 3ec5ee8616 feat: change to parent directory if CWD is deleted (#2424)
* feat: change to parent directory if CWD is deleted

* fix lint warning

* Update `CHANGELOG.md`
2026-03-10 15:24:37 +11:00
Joe Lim ede1e7e7c3 fix: prevent following symlinks for cd (#2423)
* fix: prevent resolving symlinks for `cd`

* Update `CHANGELOG.md`
2026-03-10 14:27:49 +11:00
Joe Lim 7829dd0357 refactor: remove internal ID for URL sequences (#2416) 2026-03-10 11:58:12 +11:00
dependabot[bot] 80d532df52 chore(deps): bump golang.org/x/sys from 0.41.0 to 0.42.0 (#2421)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/sys/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.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-03-09 03:18:55 +01:00
Joe Lim 374ae19cb2 feat!: remove recursive dir support for setlocal (#2415)
* feat!: remove recursive dir support for `setlocal`

* Update version in man page

* Update `CHANGELOG.md`
2026-03-05 18:52:13 +11:00
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