Open scargill opened 4 years ago
Also is there any way (for copy and paste) to select more than the current screen area...
Press Ctrl+A then Ctrl + C, or select using the mouse and scroll with the mouse wheel.
Also is there any way (for copy and paste) to select more than the current screen area...
Press Ctrl+A then Ctrl + C, or select using the mouse and scroll with the mouse wheel.
That does not seem to work. Control-Aappears to select everything - then control C stops it - difficult to tell with no cursor (I'm on Windows 10 using s Mobaxterm SSH session to a Raspberry Pi 3) and the middle mouse button does not do what I would normally expect either. So for example, click and hold on middle mouse starts off a select but won't scroll past the bottom of the screen.
Thoughts?
What about Shift + Arrow keys and Ctrl + Shift + Arrow keys? Any cursor movement action should be usable with Shift to select the text between the current cursor location and the new cursor location. (This is not exclusive to micro; it works in most text fields, including in Web browsers and the like.)
FRESH installation to make sure I'd not done any harm experimenting - cursor now appears.... but SHIFT-ARROW starts a selection but won't go past bottom of screen, bottom of the screen. Control-shift-arrow dows nothing....doesnt highlight anything. Again - hold mouse down still stops at bottom of screen. Any other ideas appreciated? For long files this is a problem...
So - also - cursor is fine UNTIL I update/etc profile to add:
export MICRO_TRUECOLOR=1 export COLORTERM=24bit
after that, no more cursor.
Yup, definitely an issue with 24-bit setting - no cursor - I checked carefully - the editor works - but no cursor....
export MICRO_TRUECOLOR=1 export COLORTERM=24-bit
The above added to /etc/profile enables all the nice themes - but makes the cursor vanish. set colorscheme simple seems to be ok but others I tried with grey backgrounds as against black - no cursor
The issue with bottom screen scrolling was fixed in "dev" release -- try the latest "night build", this will solve the problem you see (but no idea why you have any cursor issues -- normally cursor is fully managed by terminal app (but, indeed, there are termcap sequences allowing to "hide" cursor on the screen, maybe something is wrong with this..)
UPDATE: I can see at least that cursor is switched to "hidden" state once the selection is started -- and this is pretty makes sense for me, as it's allowing to clearly see what part of text is really selected. But as soon as editing is coming back to "normal", the cursor is here again. (Using iTerm2 on Mac and Konsole on Linux).
Rgds, -Dimitri
Thank Dimitri - the nightly build solved the issue with off-screen selection, thank you! But the missing cursor is still missing. So - half way there... But - the hidden cursor has nothing to do with selection - it remains hidden regardless.... in 24 bit mode - if I am using colourscheme SIMPLE the cursor is there and is WHITE but if I use other colorschemes, for example with a soft dark background - for example darkduke-dc - so in 24bit mode there is no cursor ever - either in the file being edited or indeed in the set colorscheme line...... Can we do anything about this?
Did you try to change the color of your cursor in your Terminal app to see if it's just your current color is coming in conflict with theme colors, or it's really due cursor "hiding" by micro itself (or by theme config ? -- no idea if theme options could impact cursor)..
Rgds, -Dimitri
Cursor is (at least in SIMPLE white - SIMPLE has BLACK background. Bubblegum - no cursor - cmc-16 has black background - WHITE cursor - Darkula - grey background - NO cursor - Default has grey background - NO cursor, Dukelight-tc has white background no cursor, Gotham dark blueish background NO cursor, Gruvbox has dark grey background no cursor etc etc - basically if the scheme uses more than the basic colours - no cursor - I tried several of the built-in schemes - same result - they all work fine but no cursor.. My favouite is Dukedark-tc - dark blue-ish background - but again no cursor.
I will look into this today.
I am not able to reproduce the issue with MobaXterm while SSHing into a linux server. If you use Ctrl-MouseLeft to spawn a multi-cursor does the additional cursor display correctly?
I am not able to reproduce the issue with MobaXterm while SSHing into a linux server. If you use Ctrl-MouseLeft to spawn a multi-cursor does the additional cursor display correctly?
Additional cursors do appear as white letters.... but as soon as you let go of the CONTROL key all cursors disappear leaving none. Sorry...
All is looking like your Terminal app is having white cursor (by default ?) did you try to change this ? -- look on your Terminal app options, try to change it to RED, GREEN, whatever.. Can you ?
Rgds, -Dimitri
The terminal App (PC Windows 64) is Mobaxterm - SSH session. While I can change the cursor colour in a "terminal"(settings) in Mobaxterm (to red or green etc) this hsa no effect on an SSH session in Mobaxterm. Settings for SSH sessions say nothing about cursors.
I did notice that a PUTTY ssh session seems to have the functioning cursor (Bright green) so maybe Mobaxterm is a problem here?
Then try with PUTTY or any other Terminal app to see if the issue is the same, or it's only related to your "Mobaxterm" ? (also, it's not related to SSH, it's related to how the app itself is showing the cursor)..
Rgds, -Dimitri
I have spoken to Mobaxterm, they have a nightly that solves this issue - and I note that your nightly solves the select-off-screen problem. I still have copy-paste issues from the edior to Windows even with the suggested XCLIP - not an issue I have with Nano. Any idea when that nightly will end up as the main code?
Version 2.0.4 has been released.
Description of the problem or steps to reproduce
I cannot see a cursor when editing Also is there any way (for copy and paste) to select more than the current screen area...
Specifications
Commit hash: OS: Terminal:
Version: 2.0.3 Commit hash: f594686 Compiled on April 10, 2020