Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caret is hidden when opening note in vim from CLI tool #147

Closed
4 of 8 tasks
createchange opened this issue Jan 9, 2018 · 13 comments · May be fixed by hixio-mh/jopli#54, hixio-mh/jopli#93, hixio-mh/jopli#95 or darcy168/joplin#120
Closed
4 of 8 tasks
Labels
bug It's a bug

Comments

@createchange
Copy link

createchange commented Jan 9, 2018

Operating system

  • Windows
  • macOS
  • Linux (Arch), node v9.3.0
  • Android
  • iOS

Application

  • Desktop
  • Mobile
  • Terminal

If there is an error, please copy and paste the full error message
Arch Linux CLI - Error Message: Unexpected token o in JSON at position 1

I am also having issues with syncing on my iOS device, so I am assuming the issue is somewhere on my end. I did authorize OneDrive (new account) on both CLI and iOS devices (both fresh installs).

I am happy to provide other information that you might need, but may need some in providing some of that information - working on my Linux-fu by the day, but am likely going to be out of my element here.

@laurent22
Copy link
Owner

Hello, there was a bug in the CLI app, which I've now re-published. Please could you try again? Also please wait for the next iOS version 0.10.9 (should be available today or tomorrow) and try with this one.

@createchange
Copy link
Author

Thanks for the response. I was able to install the new version, but Microsoft decided to suspend my newly created account for suspicious activity. Not sure if this is tied to Joplin (it is a new account, so possibly? or maybe it was because I tried syncing a million times while it was broken?) but the sooner you get Joplin working with Nextcloud, the better! When my account is unblocked, if ever, I will give this another shot. Honestly though, I'd prefer not to have any accounts with MS, but this app fills a need for me.

Thanks for your hard work. I'll update this when possible.

Take care.

@createchange
Copy link
Author

createchange commented Jan 12, 2018

Laurent,

Problem was solved on both iOS and Linux and I am greatly enjoying your product!

Do you have any way to contact you for questions regarding Joplin that are not bugs? I'll just mention my specific question here: when editing a note, vim opens up but my caret/cursor block is not visible, so I just kind of trial and error where I am going to be entering text at times. Any ideas on this?

Thanks for your work!

@laurent22
Copy link
Owner

A fix for this has actually been suggested but I haven't had time to add it yet: cronvel/terminal-kit#50 (comment)

I'm re-opening the issue for now to keep track of it.

@laurent22 laurent22 reopened this Jan 12, 2018
@laurent22 laurent22 added the bug It's a bug label Jan 12, 2018
@laurent22
Copy link
Owner

@createchange, actually I cannot replicate this bug, does it happen every time or is it randomly? By the way which Linux distribution is it?

@laurent22 laurent22 changed the title Unexpected token o in JSON at position 1 Caret is hidden when opening note in vim from CLI tool Jan 15, 2018
@createchange
Copy link
Author

@laurent22, thanks for following up. It happens every time for me. I am using Arch. Please let me know if there is any other information I can provide you and I’d be glad to.

@laurent22
Copy link
Owner

I'm not familiar with Arch Linux, is there any easy to use installer like for Ubuntu? I've tried the ISO they provide in VirtualBox but got to a prompt where I guess I'd have to install everything manually? Is there any quick way to do this?

@createchange
Copy link
Author

createchange commented Jan 15, 2018 via email

@laurent22
Copy link
Owner

I've tried with Antergos and it's working for me (Caret is visible in vim). Which terminal emulator, and which version of Bash are you using?

@createchange
Copy link
Author

createchange commented Jan 16, 2018 via email

@laurent22
Copy link
Owner

Unfortunately I still cannot replicate this in neither zsh under WSL nor zsh under Antergos. Does it work for you with a default vim installation (i.e. with no plugin, no vimrc, etc.)? Does it work with a default zsh installation? I guess there's some plugin or setting that's causing this but not sure what.

@createchange
Copy link
Author

You nailed it. I had "set term=ansi" in my .vimrc, and removing that fixed the problem. Not only that, but it made my vim look better. so double win! Now to open a new issue... You're doing great work.

@laurent22
Copy link
Owner

Ok good to know the reason for this bug. I'll add this to a faq.

@lock lock bot locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.