Commit graph

  • cd3ce2c129
    Merge 136cee71c2 into a7e5b0437f Richard Ulmer 2026-01-09 11:13:57 -05:00
  • a7e5b0437f go.mod: update golang.org/x dependencies master v0.39.0 Gopher Robot 2026-01-08 04:02:45 -08:00
  • 943f25d359 x/term: handle transpose Josh Bleecher Snyder 2025-12-16 13:59:10 -08:00
  • 9b991dd831 x/term: handle delete key Josh Bleecher Snyder 2025-12-16 08:15:40 -08:00
  • 528bd4a668
    Merge 61c099772b into 3863673230 Ishan Goel 2025-12-08 11:59:09 -05:00
  • 3863673230 go.mod: update golang.org/x dependencies v0.38.0 Gopher Robot 2025-12-08 04:06:14 -08:00
  • 1231d5465b go.mod: update golang.org/x dependencies v0.37.0 Gopher Robot 2025-11-08 04:01:59 -08:00
  • 3475bc8ef1 term: fix some comments cuishuang 2025-10-21 10:41:30 +08:00
  • 3a0828a666 go.mod: update golang.org/x dependencies v0.36.0 Gopher Robot 2025-10-08 05:02:20 -07:00
  • 1a11b45a6f go.mod: update golang.org/x dependencies v0.35.0 Gopher Robot 2025-09-07 05:02:03 -07:00
  • d862cd548e all: upgrade go directive to at least 1.24.0 [generated] Gopher Robot 2025-08-13 14:21:59 +00:00
  • a35244d18d go.mod: update golang.org/x dependencies v0.34.0 Gopher Robot 2025-08-07 05:04:15 -07:00
  • 4f53e0cd39 term: allow multi-line bracketed paste to not create single line with verbatim LFs Laurent Demailly 2025-07-16 18:05:05 +00:00
  • 0cf26df9ae Clarify limitation/corner case of CRLF in test Laurent Demailly 2025-07-16 11:00:25 -07:00
  • cb5628d50c Adding tests Laurent Demailly 2025-07-16 10:36:06 -07:00
  • 518f25b100
    Merge branch 'golang:master' into bracketed_new_line Laurent Demailly 2025-07-16 09:05:14 -07:00
  • 396cad6764
    Merge 900d0434b2 into 27f29d8328 Felix Niederwanger 2025-07-15 12:48:15 -04:00
  • 27f29d8328 term: remove duplicate flag and add comment on windows Ayman Bagabas 2025-07-14 22:08:09 +00:00
  • 3d202e8148 Handle CR+LF: consume LF after CR, to avoid empty extra lines in dos new line content Laurent Demailly 2025-07-13 17:27:48 -07:00
  • bc5cb00b38 keyLF is as much of a key as keyCtrlD so removing the comment Laurent Demailly 2025-07-11 17:57:31 -07:00
  • 48ea529018 missed a spot Laurent Demailly 2025-07-11 17:36:03 -07:00
  • 76633e06ae Allow multi-line bracketed paste to not create single line with LF entry Laurent Demailly 2025-07-11 16:57:45 -07:00
  • 30da5dd58f go.mod: update golang.org/x dependencies v0.33.0 Gopher Robot 2025-07-09 12:08:14 -07:00
  • 832fc7e8af
    docs: update comment Ayman Bagabas 2025-06-18 13:32:26 -04:00
  • 2ec7864a3e go.mod: update golang.org/x dependencies v0.32.0 Gopher Robot 2025-05-05 06:02:04 -07:00
  • a809085bff term: support pluggable history Laurent Demailly 2025-04-18 18:46:24 +00:00
  • 621281355f Review comments Laurent Demailly 2025-04-18 11:42:52 -07:00
  • d9f673b367 opsa double add Laurent Demailly 2025-04-17 10:26:08 -07:00
  • 57b351e5ca Updated comments - thanks to reviewers Laurent Demailly 2025-04-17 10:16:10 -07:00
  • 5e07c1517b Review updates Laurent Demailly 2025-04-16 15:01:51 -07:00
  • ba6dd5cfb0 Update to accepted version - At panics() Laurent Demailly 2025-04-16 13:47:15 -07:00
  • a06858121c Adding Len() per latest comment on proposal - even though it's a bit odd to add/expose something that isn't actually used/needed Laurent Demailly 2025-04-02 14:25:53 -07:00
  • c52ccb7be0 Also allow output in History.At - and protect from panic in History methods Laurent Demailly 2025-03-21 09:03:27 -07:00
  • 93da400bfb Tweak the godoc Laurent Demailly 2025-03-21 01:29:08 -07:00
  • c892a3ae10 Need unlock before History.Add() Laurent Demailly 2025-03-21 00:38:45 -07:00
  • c4cef2d6e4 Update NthPreviousEntry->At in godoc too Laurent Demailly 2025-03-20 23:35:28 -07:00
  • 2a4d3037d7 x/term: exposing history based on https://github.com/golang/go/issues/68780#issuecomment-2737508310 Laurent Demailly 2025-03-20 23:16:17 -07:00
  • 5d2308b09d go.mod: update golang.org/x dependencies v0.31.0 Gopher Robot 2025-04-05 06:01:51 -07:00
  • e770dddbf5 x/term: disabling auto-completion around GetPassword() Dragos Vingarzan 2024-08-20 18:25:39 +02:00
  • 04218fdaf7 go.mod: update golang.org/x dependencies v0.30.0 Gopher Robot 2025-03-05 05:01:52 -08:00
  • 208db03875 all: upgrade go directive to at least 1.23.0 [generated] Gopher Robot 2025-02-14 21:17:05 +00:00
  • 2e39ed2654
    Merge branch 'master' into win-dup-flag Ayman Bagabas 2025-02-04 15:47:47 -05:00
  • 743b2709ab go.mod: update golang.org/x dependencies v0.29.0 Gopher Robot 2025-02-04 06:18:42 -08:00
  • 40b02d69cd go.mod: update golang.org/x dependencies v0.28.0 Gopher Robot 2025-01-04 06:45:13 -08:00
  • 442846aa8d go.mod: update golang.org/x dependencies v0.27.0 Gopher Robot 2024-12-04 14:01:49 +00:00
  • b725e362a8 go.mod: update golang.org/x dependencies v0.26.0 Gopher Robot 2024-11-07 21:05:39 +00:00
  • 54df7da90d README: don't recommend go get Ian Lance Taylor 2024-10-31 15:44:15 -07:00
  • 9d5441ab55 go.mod: update golang.org/x dependencies v0.25.0 Gopher Robot 2024-10-04 14:24:43 +00:00
  • 2f7b0dd743 go.mod: update golang.org/x dependencies v0.24.0 Gopher Robot 2024-09-04 14:10:42 +00:00
  • f867b7695b x/term: set missing VIRTUAL_TERMINAL_INPUT flag on Windows Laurent Demailly 2024-08-17 15:33:39 +00:00
  • 6308a8bda4
    Change history default to 99 from 100 so history printed with %02d looks good (#7) Laurent Demailly 2024-08-10 13:07:02 -07:00
  • 26ecfd17e9 Change history default to 99 from 100 so history printed with %02d looks good Laurent Demailly 2024-08-10 12:55:39 -07:00
  • 70d7aeed17 Change history default to 99 from 100 so history printed with %02d looks good Laurent Demailly 2024-08-10 12:55:39 -07:00
  • 07a4a9e10f
    Fix windows not receiving arrow keys (golang/go#68830) (#6) Laurent Demailly 2024-08-10 10:28:38 -07:00
  • 68e3ca0e19 Fix windows not receiving arrow keys (golang/go#68830) Laurent Demailly 2024-08-10 10:07:23 -07:00
  • ed77b0f4eb
    Add ReplaceLatest() to mutate top of history. Add comments. Expose DefaultHistoryEntries as const (#5) Laurent Demailly 2024-08-09 11:29:25 -07:00
  • 68dd89eaaf Correct godoc for ReplaceLatest Laurent Demailly 2024-08-09 11:26:30 -07:00
  • 9c512d5067 Add ReplaceLatest() to mutate top of history. Add comments. Expose DefaultHistoryEntries as const Laurent Demailly 2024-08-09 11:19:26 -07:00
  • e4cae6faea
    Add AutoHistory(false) option (default remains true) to not automatically add to the History (#4) Laurent Demailly 2024-08-09 09:16:59 -07:00
  • 972077b7c1 Add AutoHistory(false) option (default remains true) to not automatically add to the History and let the caller of ReadLine() decide, for instance to only add validated commands Laurent Demailly 2024-08-09 09:04:33 -07:00
  • b0cce21e5a Don't add adjacent duplicates to history (#3) Laurent Demailly 2024-08-08 16:42:44 -07:00
  • 7796a1325a
    Don't add adjacent duplicates to history (#3) Laurent Demailly 2024-08-08 16:42:44 -07:00
  • 0f87ff7c1f Don't add adjacent duplicates to history Laurent Demailly 2024-08-08 16:39:27 -07:00
  • 113a4d5791
    prep for release under fortio.org/term (#2) Laurent Demailly 2024-08-08 12:27:22 -07:00
  • 760ea90892
    Merge pull request #1 from fortio/expose_history Laurent Demailly 2024-08-08 12:10:31 -07:00
  • 1ca6c26d14 Expose History() AddToHistory() and NewHistory() so users of the library can save and restore the history Laurent Demailly 2024-08-08 09:43:09 -07:00
  • d59895469a go.mod: update golang.org/x dependencies v0.23.0 Gopher Robot 2024-08-04 15:01:47 +00:00
  • d4346f0be2 LICENSE: update per Google Legal Russ Cox 2024-07-16 11:35:24 -04:00
  • c976cb1d70 go.mod: update golang.org/x dependencies v0.22.0 Gopher Robot 2024-07-04 15:01:44 +00:00
  • 5f0bb72315 go.mod: update golang.org/x dependencies v0.21.0 Gopher Robot 2024-06-04 15:04:42 +00:00
  • 46c790f81f go.mod: update golang.org/x dependencies v0.20.0 Gopher Robot 2024-05-04 15:02:12 +00:00
  • 5b15d269ba go.mod: update golang.org/x dependencies v0.19.0 Gopher Robot 2024-04-04 15:09:53 +00:00
  • c5eaf76d63 go.mod: update golang.org/x dependencies v0.18.0 Gopher Robot 2024-03-04 15:01:51 +00:00
  • 43baa50e61
    term: remove duplicate flag and add comment on windows Ayman Bagabas 2024-02-09 12:20:09 -05:00
  • 353276a841 go.mod: update golang.org/x dependencies v0.17.0 Gopher Robot 2024-02-07 16:24:02 +00:00
  • ae941452f5 go.mod: update golang.org/x dependencies v0.16.0 Gopher Robot 2024-01-04 15:01:46 +00:00
  • 880943bde2
    Update go.mod Alexander 2023-12-30 19:00:41 +03:00
  • 00e3f2b42e
    Update go.mod Alexander 2023-12-30 18:59:44 +03:00
  • ee66497fa3 go.mod: update golang.org/x dependencies v0.15.0 Gopher Robot 2023-11-27 15:33:37 +00:00
  • 70d3a0bd3f go.mod: update golang.org/x dependencies v0.14.0 Gopher Robot 2023-11-07 19:00:16 +00:00
  • 6a610bc55b all: update go directive to 1.18 Dmitri Shuralyov 2023-10-10 18:57:41 -04:00
  • ea6303ae75 go.mod: update golang.org/x dependencies v0.13.0 Gopher Robot 2023-10-05 12:14:15 +00:00
  • f413282cd8 go.mod: update golang.org/x dependencies v0.12.0 Gopher Robot 2023-09-02 12:16:34 +00:00
  • 19e73c2b80 go.mod: update golang.org/x dependencies v0.11.0 Gopher Robot 2023-08-04 15:01:10 +00:00
  • edd9fb7f4a go.mod: update golang.org/x dependencies v0.10.0 internal-branch.go1.21-vendor Gopher Robot 2023-07-04 15:01:15 +00:00
  • 88fcf87c53 term: consistently return zeroes on GetSize error qxxt 2023-06-27 14:30:13 +00:00
  • 39cb14de33
    Merge branch 'golang:master' into patch-1 qxxt 2023-06-26 20:56:06 +07:00
  • f6de4a13df go.mod: update golang.org/x dependencies v0.9.0 Gopher Robot 2023-06-12 17:27:39 +00:00
  • 119f703398 go.mod: update golang.org/x dependencies v0.8.0 Gopher Robot 2023-05-04 15:01:14 +00:00
  • 7ae6be6d01 go.mod: update golang.org/x dependencies v0.7.0 Gopher Robot 2023-04-04 18:07:18 +00:00
  • 900d0434b2
    Introduce ReadPasswordWithContext grisu48 2023-02-10 10:26:38 +01:00
  • 0edf009663 go.mod: update golang.org/x dependencies v0.6.0 Gopher Robot 2023-03-04 15:01:17 +00:00
  • 4dc554eef5
    Merge 49a888b6bc into d974fe8326 charlestonXdao 2023-02-07 16:51:27 -05:00
  • 49a888b6bc
    Create go-ossf-slsa3-publish.yml charlestonXdao 2023-02-07 16:51:06 -05:00
  • d974fe8326 go.mod: update golang.org/x dependencies v0.5.0 Gopher Robot 2023-02-07 00:19:11 +00:00
  • 1efcd90d86 go.mod: update golang.org/x dependencies v0.4.0 Gopher Robot 2023-01-04 15:01:19 +00:00
  • 97ca0e3821 go.mod: update golang.org/x dependencies v0.3.0 Gopher Robot 2022-12-05 20:48:12 +00:00
  • f72a2d8d64 go.mod: update golang.org/x dependencies v0.2.0 internal-branch.go1.20-vendor Gopher Robot 2022-11-07 19:46:37 +00:00
  • f6f2839df8 term: remove unused variable M. J. Fromberger 2022-10-30 09:36:26 +00:00
  • a4ab5868b4 Remove unused unexported variable. M. J. Fromberger 2022-10-29 10:21:04 -07:00