elvish/pkg/cli/modes
Qi Xiao f011034c06 pkg/cli: Simplify the API for dismissing a widget.
- Rename the method from "Close" to "Dimiss" to avoid any conflict with the
  standard interface{ Close() error }

- Remove the "accept" parameter from the Dismiss method and App.PopAddon - it is
  false in most places, and the few places that pass accept=true has knowledge
  of how to accept the state in the particular widget.

- edit:history:accept has been removed as a consequence - it is never
  documented, and is not currently used by any Elvish code published on GitHub
  (https://github.com/search?q=%22edit%3Ahistory%3Aaccept%22+extension%3Aelv&type=Code)
2021-09-07 23:16:01 +01:00
..
completion_test.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
completion.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
filter_spec.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
histlist_test.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
histlist.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
histwalk_test.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
histwalk.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
instant_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
instant.go Use a more sophisticated algorithm to distribute widget heights. 2021-09-05 01:17:46 +01:00
lastcmd_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
lastcmd.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
listing_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
listing.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
location_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
location.go pkg/cli: Simplify the API for dismissing a widget. 2021-09-07 23:16:01 +01:00
mode_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
mode.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
navigation_fs_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
navigation_fs.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
navigation_test.go Use a more sophisticated algorithm to distribute widget heights. 2021-09-05 01:17:46 +01:00
navigation.go Use a more sophisticated algorithm to distribute widget heights. 2021-09-05 01:17:46 +01:00
stub_test.go Rename pkg/cli/mode -> pkg/cli/modes. 2021-09-03 20:44:04 +01:00
stub.go Use a more sophisticated algorithm to distribute widget heights. 2021-09-05 01:17:46 +01:00