requestty/termion-snapshots/int__helpers__default-2.snap
Lutetium-Vanadium 911dd36aad Change rendering of the default value in input, int and float
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
2021-12-30 15:58:41 +08:00

29 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
source: tests/helpers/mod.rs
assertion_line: 31
expression: self.backend
---
┌──────────────────────────────────────────────────┐
? message  32 │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘