GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Strange leading whitespace before shell command · Issue #975 · tmux-python/tmuxp

Strange leading whitespace before shell command #975

New issue
Copy link
New issue
Copy link
Open
Open
Strange leading whitespace before shell command#975
Copy link

Description

@raine
raine
opened on Mar 9, 2025
Issue body actions
session_name: helloworld
windows:
  - window_name: dev
    start_directory: /home/parallels
    panes:
      - shell_command: "echo foo"
      - shell_command: "echo bar"

Image

If you press up to get the previous command, there is leading whitespace in the command, so it's not just a rendering issue.

tmuxp 1.55.0, libtmux 0.46.0

Activity

  1. raine commented on Mar 10, 2025

    @raine
    raine
    on Mar 10, 2025
    ContributorAuthor
    More actions

    It appears to be a side effect of history suppression. If I do suppress_history: false I don't see the issue.

    session_name: helloworld
    windows:
      - window_name: dev
        suppress_history: false
        start_directory: /home/parallels
        panes:
          - shell_command: "echo foo"
          - shell_command: "echo bar"
    
    Reacted by Tony Narlock and LZDQ
  2. raine
    added a commit that references this issue on Mar 10, 2025

    set suppress_history: false in window options

    3f472b0
  3. tony commented on Mar 11, 2025

    @tony
    tony
    on Mar 11, 2025
    Member
    More actions

    Hi 👋 !

    Yes, this is part of suppress_history - to make it so those automated commands aren't impacting shell history, at least for zsh.

    If you have a preference for a better behavior in regards to tmuxp commands not impacting shell history, I am all ears. It has been some time since that topic has been visited.

    Reacted by nyngwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.