procs icon indicating copy to clipboard operation
procs copied to clipboard

Hangs when running inside tmux unless pager is disabled

Open aqrln opened this issue 3 years ago • 4 comments

procs hangs when trying to run it in tmux. It works when running it with --pager disable, or when running it directly in the terminal outside of tmux session.

OS: macOS 12.5 (arm64) Terminal: iTerm2 3.4.16 + tmux 3.3a

Related: https://github.com/dalance/procs/issues/142, https://github.com/dalance/procs/issues/288

aqrln avatar Aug 08 '22 11:08 aqrln

Same issue. OS: macOS 12.6 Terminal: Alacritty + tmux 3.3a

Also --pager diable works.

wendajiang avatar Sep 29 '22 16:09 wendajiang

I try --pager disable or --theme dark, it's both work. Review the #221, ~~and find the Theme::Auto cause termgb::latency set to the 10s duration, and then pager is crash. So it look like the two crate is conflict specially termgb query the term color mode hang-up too long.~~

Look like theme find and pager and tmux mix conflict. Single test works.

wendajiang avatar Sep 30 '22 06:09 wendajiang

Alacritty: With me it says WARNING: terminal is not fully functional with --theme dark. And then the prompt does nothing but reset the colon all the time I push a key and nothing else happens. q works fortunately. With --pager disable in alacritty it writes the process table to the terminal, but there is no prompt or functionality. I think this is what disable the pager mean. So this works.

Integrated Terminal: Gives me the prompt and functionalities back, but the displayed information's are still broken. No CPU/MEM/CPU time or user are displayed correctly. No change with --theme dark.

OS: Linux, Ubuntu 22.04.2 LTS Emulator: Alacritty + integrated Terminal + tmux next-3,4 procs version: 0.13.0

scheidelerl avatar Mar 23 '23 23:03 scheidelerl

I'm running into this as well (occurs with PAGER=ov as well) but if I press enter I get the paging output.

iloveitaly avatar Aug 22 '23 13:08 iloveitaly