rat icon indicating copy to clipboard operation
rat copied to clipboard

Mangled output when starting rat

Open lacouture opened this issue 7 years ago • 3 comments

Hi.

When I run rat with the "files" mode as described in the README, I get crappy output, and the UI is irresponsive. Ctrl-C doesn't work.

I've tried with:

  • several console apps (konsole, yakuake, terminator)
  • several shells (fish, bash)
  • several rat modes (git and files)

... with similar results.

Below is an example with the following scenario:

  • konsole
  • bash
  • rat --mode files --cmd 'ls -al'

image

lacouture avatar Sep 10 '18 07:09 lacouture

What locale is your OS using?

ericfreese avatar Sep 11 '18 00:09 ericfreese

patricel@plamobile ~> localectl
   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: fr-latin1
      X11 Layout: fr
       X11 Model: pc105
     X11 Variant: oss
patricel@plamobile ~> 

By the way, I'm on Archlinux x86_64.

lacouture avatar Sep 12 '18 07:09 lacouture

I tried the following command, with same results:

LANG=en_US.UTF-8 rat --mode files --cmd 'ls -al'

I'll post back when I get a chance to try changing the system locale.

By the way, I mentioned Ctrl-C does not work for me, however hitting the "q" key exits properly.

lacouture avatar Sep 12 '18 07:09 lacouture