Skip to content

Nanocoder UI Improvements #907

Closed
Closed

Description

@akramcodez

1. Full Terminal Viewport

Nanocoder should properly own the full terminal viewport instead of rendering the UI like normal terminal output. The welcome screen should feel like a complete application with intentional positioning and spacing. This will also provide a better foundation for the rest of the TUI, similar to Opencode.
Image

2. Prevent Automatic Terminal Scrolling

Clicking the input or typing should not unexpectedly move the terminal viewport to the top. The user should keep the logo, welcome message, input, and status information visible. Only the input area itself should scroll when its content becomes larger.

Image

3. Input Background Is Too Bright

The current gray input background attracts too much attention and feels visually heavy. Use a darker, subtle surface that fits the terminal background better. The active cursor and accent color should indicate focus instead of a large bright box.

4. Improve Copy and Paste

Copy and paste should work reliably for normal text, multiline code, logs, JSON, quotes, and special characters. Large pasted prompts should preserve their formatting and should not break the input state. This is especially important because terminal agents frequently receive large blocks of code and errors.

5. Improve Multiline Input

The composer should grow naturally when the user enters multiple lines. Once it reaches its maximum height, only the composer should scroll internally. The overall terminal viewport should remain stable.

Image

6. Improve Welcome Page Overall

The welcome page layout can be improved. A centered design might be a good example to follow to make it look more polished.

Image

7. Make the Layout Responsive

The UI should adapt to different terminal widths and heights. Large terminals can display the full logo and welcome experience, while smaller terminals should reduce spacing and content. Nothing important should be pushed off-screen when the terminal is resized.

Image

8. Improve Project Information

The current ~/agents.config.json · master information is not immediately clear to a new user. Show the working directory and Git branch in a more understandable and compact format. For example, ~/nanocoder · main is easier to scan.

9. Improve Shortcut Hints

The / commands, ! bash, ↑/↓ history hint is useful but visually too subtle. Instead of permanently showing every shortcut, provide contextual suggestions when the user types /, !, or @. This keeps the interface clean while still making features discoverable.

10. Improve Input Placeholder

The current placeholder is long and mixes several different concepts. Use something simple such as Ask anything... when the input is empty. Show commands and keyboard shortcuts separately when they become relevant.

11. Improve Welcome Banner

The Welcome to Nanocoder 1.29.0 text does not need to be a large separate banner. The version is better placed in the status area or a help/about command. Use the main welcome area for the product experience rather than version information.

12. Better Use of Empty Space

The large empty areas should feel intentional rather than unused. Center or position the main welcome experience based on the available terminal height. The goal is to make the terminal feel like a designed application rather than scrolling text.

13. Keep the UI Stable While Typing

Typing should not cause unrelated parts of the interface to jump, disappear, or reposition unexpectedly. The logo, project information, and status area should remain stable whenever possible. Only elements that actually need to change should move.

14. Better Small Terminal Experience

Test Nanocoder in very small terminal windows instead of only using a large screen. The UI should gracefully hide secondary information when space becomes limited. The core experience should always remain usable: conversation, composer, and essential status.

15. Keyboard Interaction

Every important UI action should have predictable keyboard behavior. Test Enter, Shift+Enter, Escape, Ctrl+C, Ctrl+V, Ctrl+Shift+V, arrows, Home, End, and history navigation. Terminal applications should feel completely usable without requiring a mouse.

16. Mouse and Clicking Behavior

Clicking the composer should place the cursor correctly without changing the overall viewport position. Clicking other UI elements should not unexpectedly steal focus or move the terminal. Mouse support should complement keyboard navigation rather than introduce inconsistent behavior.

17. Terminal Resize Handling

Resize the terminal while Nanocoder is running and observe every component. The layout should recalculate cleanly without overlapping, disappearing, or forcing unwanted scrolling. This should be tested at multiple widths and heights.

18. Replace Emojis With Terminal Icons

Use a consistent icon set designed for terminal UIs instead of Unicode emojis. Emojis can render differently across terminals and operating systems. Use simple monochrome symbols/icons for actions like commands, files, bash, thinking, and status.

19. Move Thinking Status Out of the Input

The thinking or processing indicator should not appear inside the user's composer. Once the user submits a prompt, move the status below the user message or into the assistant response area. The composer should remain dedicated to typing and editing the next prompt.

20. Move Token Information

The ~7 tokens indicator is useful but currently looks detached from the conversation. Place token usage directly with the relevant user message or inside the status area. It should provide information without becoming a dominant UI element. Alternatively, a total token consumption summary could be shown at the bottom of the user's prompt.

21. Improve Thinking Indicator

Use a small animated terminal indicator such as ◌ Thinking, ◦ Thinking, or a custom spinner. Place it in the assistant response area so users understand that Nanocoder is processing the request. Avoid making the thinking state look like something the user can type into.

22. Improve Tool Activity

When Nanocoder is reading files, executing commands, or searching, show compact activity rows. For example: ◐ Reading package.json or ✓ Ran tests. Keep detailed tool output collapsible so the conversation does not become visually overwhelming.

23. Create Clear Conversation Hierarchy

The interface should visually distinguish You, Nanocoder, tool activity, and the composer. Each should have a consistent icon, spacing, and typography treatment. This will make long agent sessions much easier to follow.

24. Sticky Input Field

The input field should remain sticky at the bottom of the terminal viewport. This ensures the interface remains cohesive and easily accessible after a prompt is submitted.

25. Improve Long Responses

Long AI responses should have a predictable scroll experience. The conversation should scroll independently while the composer and essential status remain accessible. Users should never lose their typing position because the assistant generated more content.

26. Make Copying Feel Native

Code blocks, user prompts, assistant responses, and tool output should have predictable selection and copying behavior. Multiline pasted content should preserve indentation and line breaks. This is especially important for a terminal coding agent.

27. Use Icons Consistently

Create a small Nanocoder icon vocabulary instead of mixing emojis, Unicode symbols, and random characters. For example, use dedicated symbols for user, assistant, files, commands, bash, success, warning, and thinking. The same icon should always represent the same concept.

Activity

  1. self-assigned this
    on Aug 20, 2026
  2. added
    question
    high-priority
    proposal
    on Aug 20, 2026
  3. Dhirenderchoudhary commented on Aug 21, 2026

    @Dhirenderchoudhary
    Contributor

    @akramcodez can i ??

  4. akramcodez commented on Aug 22, 2026

    @akramcodez
    MemberAuthor

    Thanks for your interest, @Dhirenderchoudhary! We’re currently discussing it. Will keep you posted.

  5. Dhirenderchoudhary commented on Aug 22, 2026

    @Dhirenderchoudhary
    Contributor

    @akramcodez Okay Okay is there anything else which i can work on as my tasks are done

  6. shoryabansalgithub commented on Aug 22, 2026

    @shoryabansalgithub
    Contributor
  7. akramcodez commented on Aug 22, 2026

    @akramcodez
    MemberAuthor

    @shoryabansalgithub Thanks for your interest! But please don’t start working on it yet. As I mentioned earlier, we’re currently discussing this. If you open a PR, we may have to close it.

  8. mrspence commented on Aug 24, 2026

    @mrspence
    Member

    @akramcodez Directionally these UI improvements look great.

    A fair few of them require leaning into a fullscreen TUI, which requires capturing the mouse via ANSI escape sequences by extending Ink.

    This is not trivial, but could improve the user experience substantially. The next step might be to evaluate exactly what effects this change might have on our existing CLI.


    Here's my feedback by point:

    # Item Feedback
    1 Full Terminal Viewport This is a large change. It should be possible to stay with Ink, but will come with extensive testing requirements. Like Claude Code does, this would be a good experimental feature for us to try. Pitfalls to navigate:
    - native text selection and behaviours must be emulated instead (copy-paste, for one example)
    - ignore the first click after a focus event
    - we're using Ink (like Claude Code), which means we have to handle stdin ourselves
    2 Prevent Automatic Terminal Scrolling Would go nicely with (1)
    3 Input Background Is Too Bright I agree, even consider removing the background altogether
    4 Improve Copy and Paste Might be better addressed under (1)
    5 Improve Multiline Input Might be better addressed under (1)
    6 Improve Welcome Page Overall Agree, very clean
    7 Make the Layout Responsive Agree, especially with centering
    8 Improve Project Information Don't hold a strong opinion here
    9 Improve Shortcut Hints Agree, good enhancement
    10 Improve Input Placeholder Small but good win
    11 Improve Welcome Banner Agree
    12 Better Use of Empty Space Agree, whitespace is good when done right
    13 Keep the UI Stable While Typing Example? This is not necessarily unexpected for a user
    14 Better Small Terminal Experience Agree, this plays into responsive design; smaller screens don't need all the decorations
    15 Keyboard Interaction To dig into: what are we missing?
    16 Mouse and Clicking Behavior Recommend bringing under (1)
    17 Terminal Resize Handling Same as (7)
    18 Replace Emojis With Terminal Icons Agree, internal Nano Collective icons would be a really sweet branding step for us too
    19 Move Thinking Status Out of the Input Agree
    20 Move Token Information Agree
    21 Improve Thinking Indicator Agree, while adding a few variants (not just "thinking", prevent user fatigue with the same word showing)
    22 Improve Tool Activity Agree, this is probably one of the simplest AND highest-value notes here
    23 Create Clear Conversation Hierarchy To be explained further
    24 Sticky Input Field Requires (1)
    25 Improve Long Responses Requires (1)
    26 Make Copying Feel Native Requires (1)
    27 Use Icons Consistently Duplicate of (18)
  9. Dhirenderchoudhary commented on Aug 24, 2026

    @Dhirenderchoudhary
    Contributor

    @akramcodez if you allows i can take ownership of this issue ?

  10. akramcodez commented on Aug 25, 2026

    @akramcodez
    MemberAuthor

    @Dhirenderchoudhary There are still quite a few things under internal discussion around this. Once everything is finalized and resolved, I’ll create separate issues for the parts that are ready to be worked on, and you guys can pick them up from there.

    Until then, feel free to check out some of the other open issues and work on anything that interests you.

  11. akramcodez commented on Aug 25, 2026

    @akramcodez
    MemberAuthor
  12. added
    area:tui
    enhancement
    and removed
    question
    high-priority
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:tuienhancementproposal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions