randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.39k stars 82 forks source link

Terminus not showing text #439

Open IvoryJam opened 1 month ago

IvoryJam commented 1 month ago

When opening Terminus, it doesn't show any text, but only in the Gnome DE. In KDE it works just fine.

I've found that when I do the ctrl-l keyboard shortcut, it does show the prompt but no stdout it looks like (but sometimes it does but drops the first line). The commands do run though, but I can only see what I type if I do ctrl-l first or if I backspace once.

Also if I preface the command with any other command, I can get the full stdout (still no prompt unless I do ctrl-l though) e.g. echo; ls shows the output of ls

https://github.com/user-attachments/assets/13bd1c7b-91b9-43dd-a84d-e533772ccaed

IvoryJam commented 1 month ago

Forgot to mention I'm on 4180

IvoryJam commented 1 month ago

Found the debug and set it to true, ran echo hi

sent: e
receieved: e
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.0030944347381591797s
mode: [7, 25], cursor: 17.0
sent: c
receieved: c
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.0024759769439697266s
mode: [7, 25], cursor: 18.0
sent: h
receieved: h
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.0018696784973144531s
mode: [7, 25], cursor: 19.0
sent: o
receieved: o
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.002549409866333008s
mode: [7, 25], cursor: 20.0
sent:  
receieved:  
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.00183868408203125s
mode: [7, 25], cursor: 21.0
sent: h
receieved: h
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.001888275146484375s
mode: [7, 25], cursor: 22.0
sent: i
receieved: i
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.0025022029876708984s
mode: [7, 25], cursor: 23.0
sent: 
receieved: 
<0x1b>[?2004l
<0x1b>]133;C<0x1b>\
<0x1b>]777;preexec<0x1b>\hi
<0x1b>]0;user_name@fedora:~/sublime_issue<0x1b>\<0x1b>]777;notify;Command completed;echo hi<0x1b>\<0x1b>]777;precmd<0x1b>\<0x1b>]7;file://fedora/home/user_name/sublime_issue<0x1b>\<0x1b>[?2004h<0x1b>[01;32m➜<0x1b>[01;37m sublime_issue<0x1b>[01;32m<0x1b>[00m<0x1b>[0;31m<0x1b>[00m 
updating lines takes 0.00027370452880859375s
mode: [7, 25], cursor: 0.2
giampaolo commented 2 weeks ago

I have the same problem. I only see the output of commands, but nothing when I type, nor I see the shell prefix. You said you solved it. How?

IvoryJam commented 2 weeks ago

It works in KDE, I also found if I launch it through the desktop file instead of the command subl then it works kind of. Maybe something with the TTY inside of Gnome?