CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

Two issues occur during first-time initialization and configuration

Open anyiba opened this issue 6 months ago • 12 comments

Description

Two issues occur during first-time initialization and configuration:

  1. The first-time initialization fails to guide the user through API key setup, and the config.toml file is not created.
  2. In the config/settings interface, the up/down arrow keys do not work for selecting menu items.

Steps to reproduce

  1. Delete any existing config file (e.g., ~/.deepseek/config.toml) to simulate a fresh environment.
  2. Launch the DeepSeek CLI for the first time.
  3. Try to enter the settings/config interface.
  4. Attempt to use the up/down arrow keys to select a configuration option.

Expected behavior

  1. On first run, the program should detect that no configuration file exists, guide the user through setting up an API key via interactive prompts, and then create config.toml.
  2. In the settings interface, the up/down arrow keys should navigate between options, allowing the user to select any configuration item.

Actual behavior

  1. On first run, no configuration guidance appears, and config.toml is not created — requiring manual intervention.
  2. In the settings interface, pressing up/down arrow keys has no effect; the selection cannot be changed.

Environment

  • OS: windows 11
  • DeepSeek CLI version: deepseek 0.8.13
  • Model: deepseek-v4-pro
  • Shell: powershell

Logs or screenshots

Image Image Image

anyiba avatar May 05 '26 23:05 anyiba

thank you! very helpful!

Hmbown avatar May 06 '26 00:05 Hmbown

I just had this happen to me as well. very strange. will fix.

Hmbown avatar May 06 '26 00:05 Hmbown

resolved it by doing /logout and /login but will have fix in 0.8.14

Hmbown avatar May 06 '26 00:05 Hmbown

@Hmbown Thanks for your response.

However, there's also an issue with text selection using the mouse left button.

When I drag to select text with the left mouse button, the text turns white. Since the default text color is also white (or the highlight also makes it white), the selected text becomes invisible — I cannot tell which part I have selected.

Could you change the highlight style for text selection to use a background color instead? For example, a blue background (keeping the text color as it is, or white on blue) would make the selection clearly visible.

Thank you!

anyiba avatar May 06 '26 00:05 anyiba

I'm not sure whether this is a bug or if it's working as intended — the border line rendering in the settings interface looks wrong / has issues.

Image Image

anyiba avatar May 06 '26 00:05 anyiba

ah - not intended - thank you!

Hmbown avatar May 06 '26 01:05 Hmbown

Hello, @Hmbown

The UI change in version 0.8.14 has some issues — it looks a bit off. The highlight should only apply to selected text, not make the entire background light blue.

As shown in the image: One (1) is incorrect — the whole background becomes light blue. Two (2) is correct — only the selected text gets a light blue highlight (or background fill). (Maybe it's just my personal taste, but I think the previous black background looked better.)

【Just a heads-up — the latest version (0.8.14) hasn't been published to npmjs yet.】

Thanks!

Image

anyiba avatar May 06 '26 02:05 anyiba

Triage update: v0.8.14 has shipped, and this thread now contains several separate items: first-run setup, settings keyboard navigation, mouse selection contrast, and border rendering.

I am removing the stale v0.8.14 milestone/label so it does not look like an active release blocker. Please retest on the current build and comment with what still reproduces. If selection contrast or settings border rendering still reproduces, it should become a focused follow-up issue with one screenshot and exact terminal/version.

Hmbown avatar May 07 '26 16:05 Hmbown

new issues: https://github.com/Hmbown/DeepSeek-TUI/issues/1165

anyiba avatar May 08 '26 07:05 anyiba

new issues:https://github.com/Hmbown/DeepSeek-TUI/issues/1169

anyiba avatar May 08 '26 07:05 anyiba

The issues with settings keyboard navigation and first-run setup have been successfully fixed. Thanks! The unresolved bugs have been moved to new issues. This issue can now be closed. @Hmbown

anyiba avatar May 08 '26 07:05 anyiba

Closing during v0.8.59 milestone hygiene: the thread says the original first-run/settings items were fixed and remaining UI follow-ups were split into focused issues (#1165/#1169).

Hmbown avatar Jun 12 '26 18:06 Hmbown