diff --git a/docs/Config.md b/docs/Config.md index 34ca5df4e..024785f64 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -136,7 +136,7 @@ keybinding: jumpToBlock: ['1', '2', '3', '4', '5'] # goto the Nth block / panel nextMatch: 'n' prevMatch: 'N' - optionMenu: 'x' # show help menu + optionMenu: null # show help menu optionMenu-alt1: '?' # show help menu select: '' goInto: '' diff --git a/docs/keybindings/Keybindings_en.md b/docs/keybindings/Keybindings_en.md index 067ee61a3..8142f6b65 100644 --- a/docs/keybindings/Keybindings_en.md +++ b/docs/keybindings/Keybindings_en.md @@ -11,7 +11,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct m: view merge/rebase options ctrl+p: view custom patch options R: refresh - x: open menu + ?: open menu +: next screen mode (normal/half/fullscreen) _: prev screen mode ctrl+s: view filter-by-path options diff --git a/docs/keybindings/Keybindings_ja.md b/docs/keybindings/Keybindings_ja.md index bbcd1eabe..60f2739df 100644 --- a/docs/keybindings/Keybindings_ja.md +++ b/docs/keybindings/Keybindings_ja.md @@ -11,7 +11,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct m: view merge/rebase options ctrl+p: view custom patch options R: リフレッシュ - x: メニューを開く + ?: メニューを開く +: 次のスクリーンモード (normal/half/fullscreen) _: 前のスクリーンモード ctrl+s: view filter-by-path options diff --git a/docs/keybindings/Keybindings_ko.md b/docs/keybindings/Keybindings_ko.md index 325661e03..100241e74 100644 --- a/docs/keybindings/Keybindings_ko.md +++ b/docs/keybindings/Keybindings_ko.md @@ -11,7 +11,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct m: view merge/rebase options ctrl+p: 커스텀 Patch 옵션 보기 R: 새로고침 - x: 매뉴 열기 + ?: 매뉴 열기 +: 다음 스크린 모드 (normal/half/fullscreen) _: 이전 스크린 모드 ctrl+s: view filter-by-path options diff --git a/docs/keybindings/Keybindings_nl.md b/docs/keybindings/Keybindings_nl.md index 6c5360c05..2f2276bf4 100644 --- a/docs/keybindings/Keybindings_nl.md +++ b/docs/keybindings/Keybindings_nl.md @@ -11,7 +11,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct m: bekijk merge/rebase opties ctrl+p: bekijk aangepaste patch opties R: verversen - x: open menu + ?: open menu +: volgende scherm modus (normaal/half/groot) _: vorige scherm modus ctrl+s: bekijk scoping opties diff --git a/docs/keybindings/Keybindings_pl.md b/docs/keybindings/Keybindings_pl.md index 0d2ac0be1..be6368af3 100644 --- a/docs/keybindings/Keybindings_pl.md +++ b/docs/keybindings/Keybindings_pl.md @@ -11,7 +11,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct m: widok scalenia/opcje zmiany bazy ctrl+p: view custom patch options R: odśwież - x: open menu + ?: open menu +: next screen mode (normal/half/fullscreen) _: prev screen mode ctrl+s: view filter-by-path options diff --git a/docs/keybindings/Keybindings_zh.md b/docs/keybindings/Keybindings_zh.md index e6ae31bbd..87fde590a 100644 --- a/docs/keybindings/Keybindings_zh.md +++ b/docs/keybindings/Keybindings_zh.md @@ -11,7 +11,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct m: 查看 合并/变基 选项 ctrl+p: 查看自定义补丁选项 R: 刷新 - x: 打开菜单 + ?: 打开菜单 +: 下一屏模式(正常/半屏/全屏) _: 上一屏模式 ctrl+s: 查看按路径过滤选项 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/FETCH_HEAD b/lxGxGkGpXF similarity index 100% rename from test/integration/switchTabFromMenu/expected/repo/.git_keep/FETCH_HEAD rename to lxGxGkGpXF diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 6fe880ce2..a4fc71579 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -450,7 +450,7 @@ func GetDefaultConfig() *UserConfig { NextMatch: "n", PrevMatch: "N", StartSearch: "/", - OptionMenu: "x", + OptionMenu: "", OptionMenuAlt1: "?", Select: "", GoInto: "", diff --git a/pkg/gui/controllers/files_remove_controller.go b/pkg/gui/controllers/files_remove_controller.go index 73449f1ec..646118550 100644 --- a/pkg/gui/controllers/files_remove_controller.go +++ b/pkg/gui/controllers/files_remove_controller.go @@ -5,6 +5,7 @@ import ( "github.com/jesseduffield/lazygit/pkg/gui/context" "github.com/jesseduffield/lazygit/pkg/gui/filetree" "github.com/jesseduffield/lazygit/pkg/gui/types" + "github.com/jesseduffield/lazygit/pkg/utils" ) // splitting this action out into its own file because it's self-contained @@ -51,7 +52,13 @@ func (self *FilesRemoveController) remove(node *filetree.FileNode) error { } return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC, Scope: []types.RefreshableView{types.FILES}}) }, - Key: 'd', + Key: 'x', + Tooltip: utils.ResolvePlaceholderString( + self.c.Tr.DiscardAllTooltip, + map[string]string{ + "path": node.GetPath(), + }, + ), }, } @@ -67,6 +74,12 @@ func (self *FilesRemoveController) remove(node *filetree.FileNode) error { return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC, Scope: []types.RefreshableView{types.FILES}}) }, Key: 'u', + Tooltip: utils.ResolvePlaceholderString( + self.c.Tr.DiscardUnstagedTooltip, + map[string]string{ + "path": node.GetPath(), + }, + ), }) } } else { @@ -95,7 +108,13 @@ func (self *FilesRemoveController) remove(node *filetree.FileNode) error { } return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC, Scope: []types.RefreshableView{types.FILES}}) }, - Key: 'd', + Key: 'x', + Tooltip: utils.ResolvePlaceholderString( + self.c.Tr.DiscardAllTooltip, + map[string]string{ + "path": node.GetPath(), + }, + ), }, } @@ -111,6 +130,12 @@ func (self *FilesRemoveController) remove(node *filetree.FileNode) error { return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC, Scope: []types.RefreshableView{types.FILES}}) }, Key: 'u', + Tooltip: utils.ResolvePlaceholderString( + self.c.Tr.DiscardUnstagedTooltip, + map[string]string{ + "path": node.GetPath(), + }, + ), }) } } diff --git a/pkg/gui/controllers/workspace_reset_controller.go b/pkg/gui/controllers/workspace_reset_controller.go index f34739af7..825d54214 100644 --- a/pkg/gui/controllers/workspace_reset_controller.go +++ b/pkg/gui/controllers/workspace_reset_controller.go @@ -31,7 +31,7 @@ func (self *FilesController) createResetMenu() error { return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC, Scope: []types.RefreshableView{types.FILES}}) }, - Key: 'D', + Key: 'x', Tooltip: self.c.Tr.NukeDescription, }, { diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 35623b847..291c92288 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -145,17 +145,19 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi Description: self.c.Tr.LcRefresh, }, { - ViewName: "", - Key: opts.GetKey(opts.Config.Universal.OptionMenu), - Handler: self.handleCreateOptionsMenu, - Description: self.c.Tr.LcOpenMenu, - OpensMenu: true, + ViewName: "", + Key: opts.GetKey(opts.Config.Universal.OptionMenu), + Handler: self.handleCreateOptionsMenu, + OpensMenu: true, }, { ViewName: "", Key: opts.GetKey(opts.Config.Universal.OptionMenuAlt1), Modifier: gocui.ModNone, - Handler: self.handleCreateOptionsMenu, + // we have the description on the alt key and not the main key for legacy reasons + // (the original main key was 'x' but we've reassigned that to other purposes) + Description: self.c.Tr.LcOpenMenu, + Handler: self.handleCreateOptionsMenu, }, { ViewName: "status", diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index db4fe476d..c51942b03 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -107,9 +107,9 @@ func (gui *Gui) globalOptionsMap() map[string]string { return map[string]string{ fmt.Sprintf("%s/%s", keybindings.Label(keybindingConfig.Universal.ScrollUpMain), keybindings.Label(keybindingConfig.Universal.ScrollDownMain)): gui.c.Tr.LcScroll, fmt.Sprintf("%s %s %s %s", keybindings.Label(keybindingConfig.Universal.PrevBlock), keybindings.Label(keybindingConfig.Universal.NextBlock), keybindings.Label(keybindingConfig.Universal.PrevItem), keybindings.Label(keybindingConfig.Universal.NextItem)): gui.c.Tr.LcNavigate, - keybindings.Label(keybindingConfig.Universal.Return): gui.c.Tr.LcCancel, - keybindings.Label(keybindingConfig.Universal.Quit): gui.c.Tr.LcQuit, - keybindings.Label(keybindingConfig.Universal.OptionMenu): gui.c.Tr.LcMenu, + keybindings.Label(keybindingConfig.Universal.Return): gui.c.Tr.LcCancel, + keybindings.Label(keybindingConfig.Universal.Quit): gui.c.Tr.LcQuit, + keybindings.Label(keybindingConfig.Universal.OptionMenuAlt1): gui.c.Tr.LcMenu, fmt.Sprintf("%s-%s", keybindings.Label(keybindingConfig.Universal.JumpToBlock[0]), keybindings.Label(keybindingConfig.Universal.JumpToBlock[len(keybindingConfig.Universal.JumpToBlock)-1])): gui.c.Tr.LcJump, fmt.Sprintf("%s/%s", keybindings.Label(keybindingConfig.Universal.ScrollLeft), keybindings.Label(keybindingConfig.Universal.ScrollRight)): gui.c.Tr.LcScrollLeftRight, } diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 775a4c4bf..ed89592e8 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -115,6 +115,8 @@ type TranslationSet struct { LcRedoReflog string UndoTooltip string RedoTooltip string + DiscardAllTooltip string + DiscardUnstagedTooltip string LcPop string LcDrop string LcApply string @@ -762,6 +764,8 @@ func EnglishTranslationSet() TranslationSet { LcRedoReflog: "redo (via reflog) (experimental)", UndoTooltip: "The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration.", RedoTooltip: "The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration.", + DiscardAllTooltip: "Discard both staged and unstaged changes in '{{.path}}'.", + DiscardUnstagedTooltip: "Discard unstaged changes in '{{.path}}'.", LcPop: "pop", LcDrop: "drop", LcApply: "apply", diff --git a/pkg/integration/tests/tests_gen.go b/pkg/integration/tests/tests_gen.go index 815939599..6a8e8e5af 100644 --- a/pkg/integration/tests/tests_gen.go +++ b/pkg/integration/tests/tests_gen.go @@ -21,6 +21,7 @@ import ( "github.com/jesseduffield/lazygit/pkg/integration/tests/submodule" "github.com/jesseduffield/lazygit/pkg/integration/tests/sync" "github.com/jesseduffield/lazygit/pkg/integration/tests/tag" + "github.com/jesseduffield/lazygit/pkg/integration/tests/ui" "github.com/jesseduffield/lazygit/pkg/integration/tests/undo" ) @@ -115,6 +116,7 @@ var tests = []*components.IntegrationTest{ tag.CrudAnnotated, tag.CrudLightweight, tag.Reset, + ui.SwitchTabFromMenu, undo.UndoCheckoutAndDrop, undo.UndoDrop, } diff --git a/pkg/integration/tests/ui/switch_tab_from_menu.go b/pkg/integration/tests/ui/switch_tab_from_menu.go new file mode 100644 index 000000000..0a5b56c23 --- /dev/null +++ b/pkg/integration/tests/ui/switch_tab_from_menu.go @@ -0,0 +1,27 @@ +package ui + +import ( + "github.com/jesseduffield/lazygit/pkg/config" + . "github.com/jesseduffield/lazygit/pkg/integration/components" +) + +var SwitchTabFromMenu = NewIntegrationTest(NewIntegrationTestArgs{ + Description: "Switch tab via the options menu", + ExtraCmdArgs: "", + Skip: false, + SetupConfig: func(config *config.AppConfig) { + config.UserConfig.Git.AutoFetch = false + }, + SetupRepo: func(shell *Shell) { + }, + Run: func(t *TestDriver, keys config.KeybindingConfig) { + t.Views().Files().IsFocused(). + Press(keys.Universal.OptionMenuAlt1) + + t.ExpectPopup().Menu().Title(Equals("Menu")). + Select(Contains("next tab")). + Confirm() + + t.Views().Submodules().IsFocused() + }, +}) diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/COMMIT_EDITMSG b/test/integration/switchTabFromMenu/expected/repo/.git_keep/COMMIT_EDITMSG deleted file mode 100644 index dc3ab4abe..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -file0 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/HEAD b/test/integration/switchTabFromMenu/expected/repo/.git_keep/HEAD deleted file mode 100644 index b44fbb2b7..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/HEAD +++ /dev/null @@ -1 +0,0 @@ -72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/config b/test/integration/switchTabFromMenu/expected/repo/.git_keep/config deleted file mode 100644 index 596ebaeb3..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/config +++ /dev/null @@ -1,8 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true -[user] - email = CI@example.com - name = CI diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/description b/test/integration/switchTabFromMenu/expected/repo/.git_keep/description deleted file mode 100644 index 498b267a8..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/index b/test/integration/switchTabFromMenu/expected/repo/.git_keep/index deleted file mode 100644 index 91ccc35d0..000000000 Binary files a/test/integration/switchTabFromMenu/expected/repo/.git_keep/index and /dev/null differ diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/info/exclude b/test/integration/switchTabFromMenu/expected/repo/.git_keep/info/exclude deleted file mode 100644 index a5196d1be..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/logs/HEAD b/test/integration/switchTabFromMenu/expected/repo/.git_keep/logs/HEAD deleted file mode 100644 index 06099d5d9..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/logs/HEAD +++ /dev/null @@ -1,3 +0,0 @@ -0000000000000000000000000000000000000000 e0aeb3ba0b32392aaf7d88a5190aca76be967225 CI 1623779969 +0200 commit (initial): file0 -e0aeb3ba0b32392aaf7d88a5190aca76be967225 72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 CI 1623779969 +0200 commit: file0 -72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 CI 1623779976 +0200 checkout: moving from master to 0.0.2 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/logs/refs/heads/master b/test/integration/switchTabFromMenu/expected/repo/.git_keep/logs/refs/heads/master deleted file mode 100644 index e0e6c2284..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/logs/refs/heads/master +++ /dev/null @@ -1,2 +0,0 @@ -0000000000000000000000000000000000000000 e0aeb3ba0b32392aaf7d88a5190aca76be967225 CI 1623779969 +0200 commit (initial): file0 -e0aeb3ba0b32392aaf7d88a5190aca76be967225 72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 CI 1623779969 +0200 commit: file0 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/09/767bd3484e22b41138116992cc1cb5bc45fb7f b/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/09/767bd3484e22b41138116992cc1cb5bc45fb7f deleted file mode 100644 index d09fb5ad6..000000000 Binary files a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/09/767bd3484e22b41138116992cc1cb5bc45fb7f and /dev/null differ diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/72/068e9a852a790a9b867e8b5d21cb4ede3ba4d7 b/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/72/068e9a852a790a9b867e8b5d21cb4ede3ba4d7 deleted file mode 100644 index 68bf82fc1..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/72/068e9a852a790a9b867e8b5d21cb4ede3ba4d7 +++ /dev/null @@ -1,2 +0,0 @@ -xK -0@] L>cNИR"x|{7oxWzkЖ2]|pXRc,t%!ŰddK cBxCOOSMn"Q$}5`:95\u~P49c \ No newline at end of file diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/c4/534c51b41b7c85f4fad4657885792d95797e8c b/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/c4/534c51b41b7c85f4fad4657885792d95797e8c deleted file mode 100644 index 58277c3d5..000000000 Binary files a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/c4/534c51b41b7c85f4fad4657885792d95797e8c and /dev/null differ diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/e0/aeb3ba0b32392aaf7d88a5190aca76be967225 b/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/e0/aeb3ba0b32392aaf7d88a5190aca76be967225 deleted file mode 100644 index 06e1631ba..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/e0/aeb3ba0b32392aaf7d88a5190aca76be967225 +++ /dev/null @@ -1,2 +0,0 @@ -xA -0@Q9$LDzf`!Dn?ZHtxi$ !bHPECVJORn0,>xzN]Y7+t \ No newline at end of file diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 b/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 deleted file mode 100644 index 711223894..000000000 Binary files a/test/integration/switchTabFromMenu/expected/repo/.git_keep/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 and /dev/null differ diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/heads/master b/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/heads/master deleted file mode 100644 index b44fbb2b7..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/tags/0.0.1 b/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/tags/0.0.1 deleted file mode 100644 index 2e5dbd7ed..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/tags/0.0.1 +++ /dev/null @@ -1 +0,0 @@ -e0aeb3ba0b32392aaf7d88a5190aca76be967225 diff --git a/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/tags/0.0.2 b/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/tags/0.0.2 deleted file mode 100644 index b44fbb2b7..000000000 --- a/test/integration/switchTabFromMenu/expected/repo/.git_keep/refs/tags/0.0.2 +++ /dev/null @@ -1 +0,0 @@ -72068e9a852a790a9b867e8b5d21cb4ede3ba4d7 diff --git a/test/integration/switchTabFromMenu/expected/repo/file0 b/test/integration/switchTabFromMenu/expected/repo/file0 deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/integration/switchTabFromMenu/expected/repo/file1 b/test/integration/switchTabFromMenu/expected/repo/file1 deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/integration/switchTabFromMenu/recording.json b/test/integration/switchTabFromMenu/recording.json deleted file mode 100644 index eeb6b93a5..000000000 --- a/test/integration/switchTabFromMenu/recording.json +++ /dev/null @@ -1 +0,0 @@ -{"KeyEvents":[{"Timestamp":1446,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1701,"Mod":0,"Key":256,"Ch":120},{"Timestamp":2661,"Mod":0,"Key":256,"Ch":47},{"Timestamp":3149,"Mod":0,"Key":256,"Ch":112},{"Timestamp":3301,"Mod":0,"Key":256,"Ch":114},{"Timestamp":3349,"Mod":0,"Key":256,"Ch":101},{"Timestamp":3509,"Mod":0,"Key":256,"Ch":118},{"Timestamp":3573,"Mod":0,"Key":256,"Ch":105},{"Timestamp":3653,"Mod":0,"Key":256,"Ch":111},{"Timestamp":3757,"Mod":0,"Key":256,"Ch":117},{"Timestamp":3837,"Mod":0,"Key":256,"Ch":115},{"Timestamp":4013,"Mod":0,"Key":256,"Ch":32},{"Timestamp":4157,"Mod":0,"Key":256,"Ch":116},{"Timestamp":4213,"Mod":0,"Key":256,"Ch":97},{"Timestamp":4268,"Mod":0,"Key":256,"Ch":98},{"Timestamp":4533,"Mod":0,"Key":13,"Ch":13},{"Timestamp":5140,"Mod":0,"Key":13,"Ch":13},{"Timestamp":5860,"Mod":0,"Key":258,"Ch":0},{"Timestamp":6157,"Mod":0,"Key":256,"Ch":32},{"Timestamp":6701,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":79}]} \ No newline at end of file diff --git a/test/integration/switchTabFromMenu/setup.sh b/test/integration/switchTabFromMenu/setup.sh deleted file mode 100644 index e6f5ec24f..000000000 --- a/test/integration/switchTabFromMenu/setup.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -cd $1 - -git init - -git config user.email "CI@example.com" -git config user.name "CI" - -touch file0 -git add file0 -git commit -am file0 -git tag 0.0.1 - -touch file1 -git add file1 -git commit -am file0 -git tag 0.0.2 diff --git a/test/integration/switchTabFromMenu/test.json b/test/integration/switchTabFromMenu/test.json deleted file mode 100644 index d6be0d1e7..000000000 --- a/test/integration/switchTabFromMenu/test.json +++ /dev/null @@ -1 +0,0 @@ -{ "description": "Change tabs from Options menu", "speed": 1 }