mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 00:26:24 -04:00
This doesn't really solve a pressing problem, because I guess it's unlikely that users add spaces at the beginning or end of what they type into a prompt; but it could happen, and in this case we almost always want to strip it. Just adding this here for completeness while I was working on this code. The only exception is the input prompt of custom commands, because who knows what users want to use that input for in their custom command. |
||
|---|---|---|
| .. | ||
| client.go | ||
| handler_creator.go | ||
| keybinding_creator.go | ||
| menu_generator.go | ||
| menu_generator_test.go | ||
| models.go | ||
| resolver.go | ||
| session_state_loader.go | ||