mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-29 02:08:53 +01:00
c3adc902ad
This is a tricky bug to fix because the width of a tab character varies depending on context. This means that when we're trying to build a table and calculating the width of columns for budgeting, we can't actually know the width of a tab without knowing exactly what characters come before it. This is in theory doable, but it leads to some really complex code that I'd rather not adopt.
27 lines
3.3 KiB
Plaintext
27 lines
3.3 KiB
Plaintext
Search Query: > ls
|
|
|
|
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
│ Hostname CWD Timestamp Runtime Exit Code Command │
|
|
│────────────────────────────────────────────────────────────────────────────────────────────────────────│
|
|
│ localhost /tmp/ Oct 17 2022 21:43:26 PDT 3s 2 "echo 'a\tb\nc'" │
|
|
│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │
|
|
│ localhost /tmp/ Oct 17 2022 21:43:16 PDT 3s 2 ls ~/ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
│ │
|
|
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
hiSHtory: Search your shell history • ctrl+h help |