lazygit/pkg/integration/components
Stefan Haller f6f2a52dee Bump gocui and adapt lazygit code
Original commit message of the gocui change:

This fixes View.Size, Width and Height to be the correct (outer) size of a view
including its frame, and InnerSize/InnerWidth/InnerHeight to be the usable
client area exluding the frame. Previously, Size was actually the InnerSize (and
a lot of client code used it as such, so these need to be changed to InnerSize).
InnerSize, on the other hand, was *one* less than Size (not two, as you would
have expected), and in many cases this was made up for at call sites by adding 1
(e.g. in calcRealScrollbarStartEnd, parseInput, and many other places in the
lazygit code).

There are still some weird things left that I didn't address here:
- a view's lower-right coordinates (x1/y1) are one less than you would expect.
  For example, a view with a 2x2 client area like this:
    ╭──╮
    │ab│
    │cd│
    ╰──╯
  in the top-left corner of the screen (x0 and y0 both zero) has x1/xy at 3, not
  4 as would be more natural.
- a view without a frame has its coordinates extended by 1 on all sides; to
  illustrate, the same 2x2 view as before but without a frame, sitting in the
  top-left corder of the screen, has coordinates x0=-1, y0=-1, x1=2, y1=2. This
  is highly confusing and unexpected.

I left these as they are because they would be even more of a breaking change,
and also because they don't have quite as much of an impact on general app code.
2024-12-01 10:40:08 +01:00
..
alert_driver.go Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
assertion_helper.go Remove retry logic in integration tests 2023-07-09 20:57:18 +10:00
commit_description_panel_driver.go Add integration test 2024-03-11 09:19:11 +01:00
commit_message_panel_driver.go Add a commit menu to the commit message panel 2024-03-11 09:18:40 +01:00
common.go Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00
confirmation_driver.go Add demo for amending old commit 2023-08-02 22:32:51 +10:00
env.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
file_system.go Fix wrong test assertion text 2024-08-24 11:01:25 +02:00
git.go Add integration test that accesses commit properties in a custom command 2024-04-12 08:33:47 +02:00
int_matcher.go Add integration tests for searching/filtering 2023-07-03 12:54:14 +10:00
matcher.go Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
menu_driver.go Use ErrorToast instead of error panel when invoking a disabled command 2024-01-14 17:45:35 +01:00
paths.go Rename test/results to test/_results 2023-09-15 18:04:20 +02:00
popup.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
prompt_driver.go Allow editing a custom command from the suggestions list by pressing 'e' 2024-05-19 07:06:18 +02:00
random.go Add commit graph demo 2023-08-12 16:16:03 +10:00
runner.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
search_driver.go Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
shell.go Add a test demonstrating the bug 2024-06-23 12:28:42 +02:00
test.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
test_driver.go pkg: fix some typos 2024-04-20 13:47:39 +02:00
test_test.go Don't wait in integration tests when running in headless mode 2024-06-05 14:44:02 +02:00
text_matcher.go [DATALAD RUNCMD] run codespell throughout fixing typos automagically 2024-08-27 18:03:00 +02:00
view_driver.go Bump gocui and adapt lazygit code 2024-12-01 10:40:08 +01:00
views.go Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00