79425534

Date: 2025-02-09 19:16:00
Score: 0.5
Natty:
Report link

Linenoise does not have an API function to prefill the input buffer with a default string. The standard usage:

char *line = linenoise("prompt: ");

always starts with an empty buffer for the user to edit. Neither the synchronous nor the asynchronous API provides a way to preset the line buffer.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alon Alush