1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-29 00:51:35 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
3f7674a2e9 Add function to render a hyperlink
It might seem cleaner to integrate this into the text style system, so that you
could say `ts := ts.Url("some link")` and then `ts.Sprint("my text")`. However,
this would require adding a new field to TextStyle, which I didn't want to do.
2024-08-24 10:36:01 +02:00
fdff2dec79 Remove redundant variable dedeclarations
In go 1.22, loop variables are redeclared with each iteration of the
loop, rather than simple updated on each iteration. This means that we
no longer need to manually redeclare variables when they're closed over
by a function.
2024-05-19 16:38:21 +10:00
c59e6b6451 Cleanup: don't mess with globals in tests without resetting them
Changing globals in the init() function of a test file is a bad idea, as it
affects all other tests that run after it. Do it explicitly in each test
function that needs it, and take care of restoring the previous value
afterwards.
2024-03-29 10:55:33 +01:00
b250644ea8 Stop hiding underscores for VSCode
VSCode had an issue in their terminal where underscores were printed all over the place.
That has now been fixed.
See https://github.com/jesseduffield/lazygit/issues/2294 and https://github.com/xtermjs/xterm.js/issues/4238
2023-06-01 20:12:20 +10:00
820f7b9404 Support strikethrough text style 2023-05-21 10:46:13 +10:00
7bd0c779c7 fix: fix default color to be white 2023-02-03 23:36:59 +09:00
a905a28e41 better hiding of underscores 2022-11-13 14:46:13 +11:00
5964472ec1 hide underscores more 2022-11-13 14:41:43 +11:00
863a65cf94 disable underscores in vscode while we wait for underscore glitch to be fixed 2022-11-13 13:41:49 +11:00
1ac3ae1ad1 use better colour defaults 2022-11-12 14:59:15 +11:00
1dd7307fde start moving commit panel handlers into controller
more

and more

move rebase commit refreshing into existing abstraction

and more

and more

WIP

and more

handling clicks

properly fix merge conflicts

update cheatsheet

lots more preparation to start moving things into controllers

WIP

better typing

expand on remotes controller

moving more code into controllers
2022-03-17 19:13:40 +11:00
802cfb1a04 render commit graph 2021-11-05 07:58:21 +11:00
7a464ae5b7 add graph algorithm 2021-11-01 10:03:49 +11:00
c1d2aa61f3 Fix misspells 2021-09-01 22:51:24 +02:00
e58376f9f7 add tests for TemplateFuncMapAddColors 2021-08-09 21:09:52 +02:00
e8e4fa5957 Add color functions to templates funcMaps 2021-08-09 11:52:00 +01:00
b5d8849c06 Support match colors in labelFormat entry in menuFromCommand prompts 2021-08-07 16:06:36 +01:00
e798aa4b15 more color tests 2021-08-01 13:21:06 +10:00
0662733ad9 add tests for color changes 2021-07-31 20:53:49 +02:00
550c0fd4dc refactor 2021-07-31 17:56:47 +10:00
0bc0e4ac88 more efficient 2021-07-31 17:33:20 +10:00
117c0bd4f7 simplify code a bit 2021-07-31 17:33:13 +10:00
79848087bc Switch to github.com/gookit/color for terminal colors 2021-07-30 15:14:46 +02:00