Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

add a tips for multiline mode - #2779

Closed
reidliu41 wants to merge 1 commit into
instructlab:mainfrom
reidliu41:add-tips-for-chat-m
Closed

add a tips for multiline mode#2779
reidliu41 wants to merge 1 commit into
instructlab:mainfrom
reidliu41:add-tips-for-chat-m

Conversation

@reidliu41

@reidliu41 reidliu41 commented Dec 12, 2024

Copy link
Copy Markdown
Contributor
From:
>>> /h                                                                                           [S][default]
╭───────────────────────────────────────────────── system ──────────────────────────────────────────────────╮
│ Help / TL;DR                                                                                              │
│                                                                                                           │
│  • /q: quit                                                                                               │
│  • /h: show help                                                                                          │
│  • /a assistant: amend assistant (i.e., model)                                                            │
│  • /c context: change context (available contexts: default, cli_helper)                                   │
│  • /lc: list contexts                                                                                     │
│  • /m: toggle multiline (for the next session only)            <<<<                                           │
│  • /M: toggle multiline                                                         <<<<                          │
│  • /n: new session                                                                                        │
│  • /N: new session (ignoring loaded)                                                                      │
│  • /d <int>: display previous response based on input, if passed 1 then previous, if 2 then second last   │
│    response and so on.                                                                                    │
│  • /p <int>: previous response in plain text based on input, if passed 1 then previous, if 2 then second  │
│    last response and so on.                                                                               │
│  • /md <int>: previous response in Markdown based on input, if passed 1 then previous, if 2 then second   │
│    last response and so on.                                                                               │
│  • /s filepath: save current session to filepath                                                          │
│  • /l filepath: load filepath and start a new session                                                     │
│  • /L filepath: load filepath (permanently) and start a new session                                       │
│                                                                                                           │
│ Press Alt (or Meta) and Enter or Esc Enter to end multiline input.  <<<  not a good user experience for tips                              │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
>>> /M                                                                        [S][default]
>>> ls                                                                         [M]<<<<---- only show in here after changed[default]

To:
>>> /m                                                                                           [S][default]
╭───────────────────────────────────────────────── system ──────────────────────────────────────────────────╮
│ Multi-line mode enabled (for the next session only). Press Alt+Enter or Esc Enter to submit your          │
│ multi-line input.                                                                                         │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯

>>> /M                                                                                           [S][default]
╭───────────────────────────────────────────────── system ──────────────────────────────────────────────────╮
│ Multi-line mode enabled. Press Alt+Enter or Esc Enter to submit your multi-line input.                    │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
>>> /m                                                                                           [M][default]

╭───────────────────────────────────────────────── system ──────────────────────────────────────────────────╮
│ Multi-line mode disabled.                                                                                 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the
    conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Functional tests have been added, if necessary.
  • E2E Workflow tests have been added, if necessary.

@mergify mergify Bot added the ci-failure PR has at least one CI failure label Dec 12, 2024
@mergify mergify Bot added ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Dec 12, 2024
- add some tips for multiline mode after it enabled

Signed-off-by: reid_liu <guliu@redhat.com>
@mergify mergify Bot removed the ci-failure PR has at least one CI failure label Dec 12, 2024
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity within 60 days. It will be automatically closed if no further activity occurs within 30 days.

@github-actions github-actions Bot added the stale label Feb 11, 2025
@booxter booxter removed the stale label Feb 18, 2025
@mergify mergify Bot added the one-approval PR has one approval from a maintainer label Feb 18, 2025
@courtneypacheco
courtneypacheco requested a review from a team March 6, 2025 17:15
@courtneypacheco

Copy link
Copy Markdown
Contributor

@RobotSail or @alinaryan, can you PTAL? This PR still seems relevant, but I just want an additional opinion.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity within 60 days. It will be automatically closed if no further activity occurs within 30 days.

@github-actions github-actions Bot added the stale label May 17, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed due to inactivity. Please feel free to reopen if you intend to continue working on it!

@github-actions github-actions Bot closed this Jun 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

one-approval PR has one approval from a maintainer stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants