Skip to content

Conversation

@haraldF
Copy link
Contributor

@haraldF haraldF commented Mar 25, 2023

Allow exiting the interactive prompt also with CTRL-D on Unix and CTRL-Z on Windows.

CTRL-D is so in my muscle memory, I never press anything else.

@anzz1
Copy link
Contributor

anzz1 commented Mar 25, 2023

All good, but merge conflict need solving

Allow exiting the interactive prompt also with CTRL-D on Unix and CTRL-Z
on Windows.
@anzz1 anzz1 merged commit 33e35b8 into ggml-org:master Mar 26, 2023
@haraldF haraldF deleted the eof branch March 26, 2023 11:12
Deadsg pushed a commit to Deadsg/llama.cpp that referenced this pull request Dec 19, 2023
danielzgtg added a commit to danielzgtg/llama.cpp that referenced this pull request Apr 16, 2025
This restores the behavior from ggml-org#491. This does not affect Ctrl+D's ability to
terminate --multiline-input lines (ggml-org#1040).

This also actually implements ggml-org#587: "If the user wants the text to end in a
newline, this should be accomplished by explicitly adding a newline by using
\ followed by return, then returning control by pressing return again."

Fixes ggml-org#12949
ngxson pushed a commit that referenced this pull request Apr 18, 2025
This restores the behavior from #491. This does not affect Ctrl+D's ability to
terminate --multiline-input lines (#1040).

This also actually implements #587: "If the user wants the text to end in a
newline, this should be accomplished by explicitly adding a newline by using
\ followed by return, then returning control by pressing return again."

Fixes #12949
colout pushed a commit to colout/llama.cpp that referenced this pull request Apr 21, 2025
This restores the behavior from ggml-org#491. This does not affect Ctrl+D's ability to
terminate --multiline-input lines (ggml-org#1040).

This also actually implements ggml-org#587: "If the user wants the text to end in a
newline, this should be accomplished by explicitly adding a newline by using
\ followed by return, then returning control by pressing return again."

Fixes ggml-org#12949
pockers21 pushed a commit to pockers21/llama.cpp that referenced this pull request Apr 28, 2025
This restores the behavior from ggml-org#491. This does not affect Ctrl+D's ability to
terminate --multiline-input lines (ggml-org#1040).

This also actually implements ggml-org#587: "If the user wants the text to end in a
newline, this should be accomplished by explicitly adding a newline by using
\ followed by return, then returning control by pressing return again."

Fixes ggml-org#12949
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants