Richard Lewis

Results 72 comments of Richard Lewis
trafficstars

Since we already have some other dependencies like wcwidth I'm not against adding one for the clipboard. There's at least the libraries `clipboard` and `pyperclip`. Not sure which one we...

- I think for now we can just not run `init_pair` on Windows if it doesn't work, as long as it doesn't cause other issues. - Not quite sure what...

Sorry for the late answer. Yeah, I guess it can be a separate issue, as long as backspace works for deleting characters. Help is also available by running the command...

I took a closer look at `clipboard` and `pyperclip` and I think we should use `pyperclip` instead. `clipboard` just wraps `pyperclp` and doesn't provide any additional functionality: https://github.com/terryyin/clipboard/blob/master/clipboard.py

Hi and sorry for the late response! Summer has been busy :) I'll test this out next week. The code looks good so I think it's pretty much ready for...

I've been thinking about this, and UX wise it's not entirely simple. When the user uses the non-regex find, we don't know wether they wan't to use escape sequences like...

Multi line prompts would be nice to have. Only problem is there's no support for "shift-enter" in the termimal :/

I wish it helped. We should be in raw mode already https://github.com/richrd/suplemon/blob/master/suplemon/ui.py#L120 Anyway I do think a multi line prompt could be something worth having, but maybe it's not worth...

For now I'll keep the behaviour as it is. For regex searches it makes perfect sense for `\n` etc escape sequences to work. For the basic find it would be...

Let me backtrack a little regarding `shift+enter` (and other special key combinations). Apparently curses doesn't distinguish between `enter` and `shift+enter` when using `curses.key_name`, and Suplemon relies heavily on that function....