Dawid Dziurla
e21f739f4f
add renderGlobalOptions
...
render only global options for all panels
2018-09-04 16:07:31 +02:00
Dawid Dziurla
97ad4a1643
delete options
2018-09-04 15:40:29 +02:00
Dawid Dziurla
cbafadd48e
move keys slice to guiState struct
2018-09-04 15:29:43 +02:00
Dawid Dziurla
7b84c162f4
set help panel fgcolor to white
2018-09-04 15:25:54 +02:00
Dawid Dziurla
f29c81fb5c
add getMaxKeyLength
2018-09-04 15:25:02 +02:00
Jesse Duffield
59003c8bbf
Merge pull request #253 from jesseduffield/hotfix/238-xdg-open-2
...
Update xdg-open command
2018-09-04 22:21:03 +10:00
Jesse Duffield
6c1d133315
dockerfile for testing on alpine linux
2018-09-04 22:19:08 +10:00
Jesse Duffield
33ea093d88
Merge branch 'master' into hotfix/238-xdg-open-2
2018-09-04 20:37:35 +10:00
Jesse Duffield
a81f8b84e3
Merge pull request #245 from antham/master
...
Rewrite SetupGit in GitCommand
2018-09-04 19:29:21 +10:00
Jesse Duffield
3f68fe42cb
update xdg-open command
2018-09-04 19:18:18 +10:00
Anthony HAMON
172cd7c687
fix tests locally
2018-09-04 08:32:43 +02:00
Anthony HAMON
df3e7abd68
use RunCommand
2018-09-04 08:32:40 +02:00
Anthony HAMON
8c67578063
replace fmt with errors
2018-09-04 06:21:58 +02:00
Anthony HAMON
06846ef3ae
rename NewApp to Setup
2018-09-04 06:21:58 +02:00
Anthony HAMON
43ad9a81c2
merge setup in function that create a new git command
2018-09-04 06:21:58 +02:00
Anthony HAMON
9f7775df26
pkg/git : remove unused Map function
2018-09-04 06:21:58 +02:00
Anthony HAMON
c1984528c8
pkg/git : add tests for SetupGit
2018-09-04 06:21:58 +02:00
Anthony HAMON
624d63d2fa
pkg/git : remove panic in SetupGit method
2018-09-04 06:21:58 +02:00
Dawid Dziurla
67d99a24ea
get selected branch from correct panel
2018-09-03 18:45:52 +02:00
Dawid Dziurla
bf8514f5e2
helperize spaces
2018-09-03 18:44:56 +02:00
Dawid Dziurla
93e88ea8fe
add missing translated polish strings
2018-09-03 18:34:04 +02:00
Dawid Dziurla
a2073528f4
add missing untranslated dutch strings
...
@mjarkk
2018-09-03 18:33:38 +02:00
Dawid Dziurla
230a5afa4c
remove capitalization of keybindings descriptions
2018-09-03 18:16:54 +02:00
Dawid Dziurla
c49e4dc287
get item position from correct panel
2018-09-03 18:07:38 +02:00
Dawid Dziurla
59f50010b6
apply fmt again
2018-09-03 18:01:07 +02:00
Dawid Dziurla
b5827b7d80
merge conflict effect fix
2018-09-03 17:57:03 +02:00
Dawid Dziurla
36874be45b
apply very important fmt
2018-09-03 17:54:06 +02:00
Dawid Dziurla
83b7c60246
add untranslated dutch strings
...
@mjarkk
2018-09-03 17:54:06 +02:00
Dawid Dziurla
323016aa01
polish translation
2018-09-03 17:54:06 +02:00
Dawid Dziurla
b403b6e46d
better english string
2018-09-03 17:54:06 +02:00
Dawid Dziurla
359636c1aa
add generate_cheatsheet script
...
script is generating markdown document with small cheatsheet
in selected language
2018-09-03 17:54:06 +02:00
Dawid Dziurla
1fa55875e2
remove testing content
2018-09-03 17:54:06 +02:00
Dawid Dziurla
5177e458ef
use Fprint instead of renderString
...
renderString is wrapping content
because of that lines are being select wrong
2018-09-03 17:54:06 +02:00
Dawid Dziurla
314c8c279a
apply fmt on keybindings
2018-09-03 17:54:06 +02:00
Dawid Dziurla
20073d0293
don't panic
...
"panic: runtime error: index out of range"
when executing stash pop 'g' from help menu
2018-09-03 17:54:06 +02:00
Dawid Dziurla
90a4cada82
add missing descriptions
2018-09-03 17:54:06 +02:00
Dawid Dziurla
e376de6d1a
explicitly delete 'help' view
2018-09-03 17:54:06 +02:00
Dawid Dziurla
265d7e121a
use Key if it's a rune, otherwise KeyReadable
2018-09-03 17:54:06 +02:00
Dawid Dziurla
7ec5b6cc30
indent keybindings
2018-09-03 17:54:06 +02:00
Dawid Dziurla
9ceaf5b9a9
move descriptions to i18n
2018-09-03 17:52:05 +02:00
Dawid Dziurla
cc3fa4b79d
make '?' key visible on every panel
2018-09-03 17:52:05 +02:00
Dawid Dziurla
653d590157
help panel size from getConfirmationPanelDimensions
2018-09-03 17:52:05 +02:00
Dawid Dziurla
8a01d11202
more error checks
2018-09-03 17:52:05 +02:00
Dawid Dziurla
28a9594ef7
update help panel
...
- delete scrolling ability
- lines are now selectable
- implemented handler execution when space is pressed
- add example descriptions for status panel keybindings
2018-09-03 17:52:05 +02:00
Dawid Dziurla
77623db1d0
apply fmt
2018-09-03 17:52:05 +02:00
Dawid Dziurla
6a99d36ae1
change key from 'H' to '?'
2018-09-03 17:52:05 +02:00
Dawid Dziurla
2416f585ce
initial help panel
2018-09-03 17:52:05 +02:00
Dawid Dziurla
741e28d01a
move bindings to getKeybindings()
2018-09-03 17:52:05 +02:00
Jesse Duffield
19a8029795
Merge pull request #250 from dawidd6/fix/tests
...
Fix testing with localized rmdir + don't test scripts directory
2018-09-03 22:04:16 +10:00
Jesse Duffield
796f17eef4
Merge branch 'master' into fix/tests
2018-09-03 21:20:17 +10:00