edluffy / hologram.nvim

👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
MIT License
1.29k stars 31 forks source link

Setup error: `/hologram/state.lua:36: bad argument #2 to 'ioctl' (cannot convert 'nil' to 'int')` #23

Closed anoduck closed 2 years ago

anoduck commented 2 years ago

Installed hologram through packer, but did not call the setup command, so as a result the command never became available to run it. Added the setup configuration, and receive the error every time my configuration file for nvim is loaded, and still command is not available.

Error:

/hologram/state.lua:36: bad argument #2 to 'ioctl' (cannot convert 'nil' to 'int')

setup:

use {
  "edluffy/hologram.nvim",
  config = function()
    require("hologram").setup {
      auto_display = true
    }
  end
  }
anoduck commented 2 years ago

@edluffy No tomato.

edluffy commented 2 years ago

Hmm.... I can't seem to reproduce this. Can you tell me what OS you are using?

anoduck commented 2 years ago

Hmm.... I can't seem to reproduce this. Can you tell me what OS you are using?

Ah, snap...my bad, Holmes. OpenBSD 7.2-CURRENT

Running hologram in neovim 0.8 (or whatever current is), in kitty 0.24.4, on OpenBSD.

Sorry, for making things difficult. Much love, for your work, though.