Re: Prompt not centered when started as detached

2021-01-06 Thread Geraint Edwards
Joan Albert said (on Thu, Jan 07, 2021 at 08:39:44a.m. +0100): > > Hi Geraint, > > > I believe that the above is the answer. The size defaults to 80 x 24. > > Thank you very much for the tip! > > Do you think it would be possible (when I have the required skills) for me to >

Re: Prompt not centered when started as detached

2021-01-06 Thread Joan Albert
Hi Geraint, > I believe that the above is the answer. The size defaults to 80 x 24. > > If you're a C dev, I think those defaults are in these lines: > https://git.savannah.gnu.org/cgit/screen.git/tree/src/window.c#n607 Thank you very much for the tip! I am not a C dev, but I wanted to learn C

Re: Prompt not centered when started as detached

2021-01-05 Thread Geraint Edwards
Joan Albert said (on Tue, Jan 05, 2021 at 11:46:46a.m. +0100): > Could it be that detached mode has some kind of default size (which is > smaller than my terminal window?) I believe that the above is the answer. The size defaults to 80 x 24. If you're a C dev, I think those

Prompt not centered when started as detached

2021-01-05 Thread Joan Albert
Hi everyone, I am currently starting a screen session with my window manager in detached mode (screen -d -m -S personal) in order for all new terminals to be attached to it afterwards. The thing is, that when I attach any terminal to it (screen -x personal) the bash prompt within the screen