mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-21 20:41:39 +02:00
Remove extra scrolled color test since the color rendering seems flaky
This commit is contained in:
parent
4c89010874
commit
5e415469d8
@ -2554,16 +2554,6 @@ echo foo`)
|
|||||||
out = stripRequiredPrefix(t, out, "hishtory tquery -pipefail")
|
out = stripRequiredPrefix(t, out, "hishtory tquery -pipefail")
|
||||||
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery")
|
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery")
|
||||||
|
|
||||||
// Check scrolling with query (with colors so we can confirm it, though this part is MacOS only)
|
|
||||||
if runtime.GOOS == "darwin" {
|
|
||||||
out = captureTerminalOutputComplex(t, TmuxCaptureConfig{tester: tester, complexCommands: []TmuxCommand{
|
|
||||||
{Keys: "hishtory SPACE tquery SPACE -pipefail ENTER", ExtraDelay: 1.0},
|
|
||||||
{Keys: "Down Down"},
|
|
||||||
}, includeEscapeSequences: true})
|
|
||||||
out = stripTuiCommandPrefix(t, out)
|
|
||||||
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery-scrolled")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check actually selecting it with query
|
// Check actually selecting it with query
|
||||||
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
||||||
{Keys: "hishtory SPACE tquery SPACE -pipefail ENTER", ExtraDelay: 1.0},
|
{Keys: "hishtory SPACE tquery SPACE -pipefail ENTER", ExtraDelay: 1.0},
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
-pipefail
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Search Query: > -pipefail[7m [0m[39m[49m
|
|
||||||
|
|
||||||
[90m┌───────────────────────────────────────────────────────────────────────────┐
|
|
||||||
│[39m Exit Code Command [90m│
|
|
||||||
│───────────────────────────────────────────────────────────────────────────│
|
|
||||||
│[39m 0 hishtory config-set filter-duplicate-commands true [90m│
|
|
||||||
│[39m 0 hishtory config-set displayed-columns 'Exit Code' Command [90m│
|
|
||||||
│[93m[104m 0 echo foo [90m[49m│
|
|
||||||
│[39m 0 echo baz [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
│[39m [90m│
|
|
||||||
└───────────────────────────────────────────────────────────────────────────┘
|
|
||||||
hiSHtory: Search your shell history[39m [90m • ctrl+h[39m [90mhelp
|
|
Loading…
x
Reference in New Issue
Block a user