Commit Graph
1575 Commits
Author SHA1 Message Date
Joe Lim 841cc3da06 Handle arrow keys when waiting for key press (#1956) 2025-04-09 19:03:19 +10:00
MahouShoujoMivutilde 1878faa942 Implement files query to export files in the current directory as (#1949)
presented in lf (including filter/sorting)

`lf -remote "query $id files"`

This version updates `files` list only before running shell commands.
2025-04-09 16:37:55 +10:00
dependabot[bot] 3fdd991040 Bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 (#1953)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-version: 1.9.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>
2025-04-07 14:38:00 +10:00
dependabot[bot] 9cad75867d Bump golang.org/x/term from 0.30.0 to 0.31.0 (#1952)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/term/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.31.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>
2025-04-07 14:37:48 +10:00
dependabot[bot] 970b31852d Bump golang.org/x/text from 0.23.0 to 0.24.0 (#1951)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.24.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>
2025-04-07 14:32:19 +10:00
Joe Lim ffe4c97560 Change menu contents to be a string (#1954) 2025-04-07 14:23:25 +10:00
Joe Lim 6718a36334 Bump dependencies (#1941) 2025-03-30 16:37:32 +11:00
Joe Lim ad6fa3fa73 Fix crash if log file can't be opened (#1937) 2025-03-21 18:56:13 +11:00
Joe Lim 9b1f8386fa Add support for underline colors (#1933) 2025-03-15 13:01:17 +11:00
Joe Lim 26259f777f Add function for parsing SGR colors (#1932)
* Add function for parsing SGR colors

* Change error message

* Fix break out of loop

* Fix typo
2025-03-15 12:37:44 +11:00
Dusan Lesan 9dc4e6b431 Update screenshots (#1924)
cc #1919
2025-03-06 09:50:25 +11:00
Joe Lim 0e66d02746 Use clear for clearing maps (#1923) 2025-02-23 19:56:50 +11:00
Joe Lim 938e02e126 cleanup (#1922) 2025-02-23 17:14:19 +11:00
David Pedersen 2a3292560d Apply modernization fixes (#1921) 2025-02-23 17:05:20 +11:00
Joe Lim f9813744f7 Add dircounts to setlocal options (#1920)
* Remove plural from setlocal variable names

* Add `dircounts` for `setlocal`

* Update documentation

* Fix failing test
2025-02-19 10:43:15 +11:00
valoqandJoe Lim b087bf7d80 verify the Trash directory exists before moving files there (#1918)
* verify the Trash directory exists before moving files there

* Update etc/lfrc.example

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-02-19 10:38:33 +11:00
David Pedersen c42942d53e Remove redundant strconv in diacritics test (#1917) 2025-02-14 15:45:21 +11:00
Joe Lim 74b2954e6a Handle leading zeros in SGR escape sequences (#1912) 2025-02-10 17:13:34 +11:00
Penn Bauman 7797ad695f fix non-constant format string (#1910) 2025-02-10 12:04:49 +11:00
Joe Lim b3c652c4d4 Add support for underline styles (#1896) 2025-02-09 23:39:15 +11:00
dependabot[bot] 3b56a9fa64 Bump github.com/Xuanwo/go-locale from 1.1.2 to 1.1.3 (#1902)
Bumps [github.com/Xuanwo/go-locale](https://github.com/Xuanwo/go-locale) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/Xuanwo/go-locale/releases)
- [Changelog](https://github.com/Xuanwo/go-locale/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Xuanwo/go-locale/compare/v1.1.2...v1.1.3)

---
updated-dependencies:
- dependency-name: github.com/Xuanwo/go-locale
  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>
2025-02-09 23:24:43 +11:00
dependabot[bot] 5b1ec5b6fc Bump golang.org/x/text from 0.21.0 to 0.22.0 (#1906)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2025-02-09 23:17:03 +11:00
dependabot[bot] ec42237563 Bump golang.org/x/term from 0.28.0 to 0.29.0 (#1905)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/term/compare/v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  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>
2025-02-09 23:09:23 +11:00
Joe Lim c25647d364 Prepare for r34 release (#1909) r34 2025-02-09 22:50:06 +11:00
Joe Lim 4f0a5d6211 Automatically unselect files after watch remove (#1901) 2025-02-03 10:45:53 +11:00
Joe Lim 7595e05957 Add workaround for equivalent paths for watch option (#1895)
* Add workaround for equivalent paths for watch option

* Add comment

* Simplify path watching
2025-01-30 09:53:50 +11:00
Joe Lim 2745c1ab22 Add link to ranger in README (#1891) 2025-01-15 21:57:30 +11:00
Joe Lim 2375b651ce Mark locale feature as experimental (#1892) 2025-01-15 21:48:17 +11:00
dependabot[bot] b34ca155ab Bump github.com/gdamore/tcell/v2 from 2.7.4 to 2.8.1 (#1888)
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.7.4 to 2.8.1.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.7.4...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  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>
2025-01-15 13:24:35 +11:00
dependabot[bot] df0b62af30 Bump golang.org/x/term from 0.27.0 to 0.28.0 (#1884)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/term/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  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>
2025-01-15 13:16:06 +11:00
Joe Lim 2095efa661 Various fixes for updating dircounts with watch enabled (#1881)
* Fix file size bug when copying files

* Don't remove existing watches

* Bump fsnotify

* Ignore watching `/dev`
2025-01-15 13:06:00 +11:00
dependabot[bot] 8bfa3a6d34 Bump golang.org/x/term from 0.26.0 to 0.27.0 (#1868)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/term/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  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>
2024-12-05 18:20:00 +11:00
dependabot[bot] 085717bc9f Bump golang.org/x/text from 0.20.0 to 0.21.0 (#1870)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2024-12-05 18:13:57 +11:00
Joe Lim 68a29c9284 Prevent infinite loop when using on-quit (#1856) 2024-11-17 23:10:20 +11:00
Joe Lim f0dddccb04 Fix background color when rendering filenames (#1849) 2024-11-14 11:05:37 +11:00
valoq 23bef4dc0b Revert "Bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 (#1821)" (#1847)
This reverts commit 4079aead14.
2024-11-13 12:19:46 +11:00
zenyu 4fefcf7aac Create key event expr with non-zero count (#1846) 2024-11-11 10:35:32 +11:00
dependabot[bot] 0b5749f0ef Bump golang.org/x/text from 0.19.0 to 0.20.0 (#1842)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2024-11-08 15:26:04 +11:00
dependabot[bot] dec026e2aa Bump golang.org/x/term from 0.25.0 to 0.26.0 (#1841)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/term/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  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>
2024-11-08 14:13:13 +11:00
Joe Lim ce3dbea2ae Enable autoquit by default (#1839) 2024-11-06 12:21:39 +11:00
Joe Lim 670343a23f Add on-init hook command (#1838) 2024-11-06 12:12:12 +11:00
David Pedersen 0b51987044 Use new slices/cmp standard lib (#1834) 2024-11-05 00:08:28 +11:00
dependabot[bot] d9a6ca5766 Bump golang.org/x/text from 0.18.0 to 0.19.0 (#1833)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2024-11-04 18:02:56 +11:00
David Pedersen b5b7b84568 Bump Go to 1.23 (#1832) 2024-11-04 18:01:08 +11:00
David Pedersen fa2fa19ab0 Small optimizations for opts.go (#1831)
* Small optimizations for opts.go

* Add back all opts
2024-11-04 09:51:38 +11:00
David Pedersen 0f48f36b0f Small optimizations and cleanups (#1830) 2024-11-04 00:25:05 +11:00
David Pedersen f5a0e655a1 Small optimizations for os.go (#1829)
* Small optimizations for os.go

* Cleanup isHidden check further
2024-11-03 21:11:00 +11:00
David Pedersen 4408f37a9b Hardcode diacritics instead of generating during runtime (#1827)
* Hardcode diacritics instead of generating during runtime

* Remove redundant test
2024-11-03 18:21:33 +11:00
David Pedersen 1b1628c378 Small optimizations for ui.go (#1826) 2024-11-03 03:14:08 +11:00
Joe Lim dda8e88aaf Cleanup doc (#1823) 2024-11-02 00:28:54 +11:00