Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

No image reloading support #8

Closed
Darksonn opened this issue Nov 12, 2015 · 1 comment
Closed

No image reloading support #8

Darksonn opened this issue Nov 12, 2015 · 1 comment
Assignees
Labels
Feature New feature request
Milestone

Comments

@Darksonn
Copy link

I keymap to reload the image, and an option to automatically do so, would be very useful.

@eXeC64 eXeC64 added the Feature New feature request label Nov 12, 2015
@eXeC64 eXeC64 added this to the v1.1.0 milestone Nov 12, 2015
@jdiez17 jdiez17 self-assigned this Nov 12, 2015
@eXeC64 eXeC64 modified the milestones: v1.2.0, v1.1.0 Nov 14, 2015
@eXeC64
Copy link
Owner

eXeC64 commented Nov 30, 2015

Note for whoever ends up implementing this:

Use inotify with the IN_CLOSE_WRITE event to know when to try and reload the current image.

This should also have its own subsystem (i.e. C source file and header) to handle watching a file, to wrap it in a nice interface. That way we can keep unnecessary state and logic outside of the main loop.

jdiez17 added a commit that referenced this issue Dec 10, 2015
jdiez17 added a commit that referenced this issue Dec 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature New feature request
Projects
None yet
Development

No branches or pull requests

3 participants