Earlier, the default value would just be shown on the side at all times. This is even if the default will not be selected which can be misleading. This change shows the default as greyed out text in the input itself. It also allows pressing 'Tab' to make the current input the default if the current input value is the start of the default. Implements #4
29 lines
1.6 KiB
Plaintext
29 lines
1.6 KiB
Plaintext
---
|
||
source: tests/helpers/mod.rs
|
||
assertion_line: 31
|
||
expression: self.backend
|
||
|
||
---
|
||
┌──────────────────────────────────────────────────┐
|
||
│[38;5;10m? [1m[39mmessage[22m [38;5;8m›[39m [38;5;0m[48;5;8md[38;5;8m[49mefault[39m │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
│ │
|
||
└──────────────────────────────────────────────────┘
|