jdev - 2024-08-27


  1. Link Mauve

    moparisthebest, jonas’, MattJ, in poezio we use the lower half block Unicode character (▄) to display coloured pixels in every terminal, as none of the ones I use support sixel.

  2. Link Mauve

    The library we use, ncurses, also limits us to 256 colours, and that’s very low to render good images, so I didn’t pursue inline images much afterwards…

  3. Link Mauve

    I have written a much better renderer for roezio, using true colours, which is supported by many terminals, but sadly not tmux which is what I mainly use, because it to uses ncurses…

  4. jonas’

    wat?

  5. jonas’

    tmux doesn't support true colors?

  6. jonas’

    sad

  7. Link Mauve

    Very.

  8. Zash

    dtach < screen < tmux less is more ;)

  9. Link Mauve

    Do screen or dtach support true colours?

  10. Zash

    dtach supports nothing, therefore supports everything

  11. MattJ

    I expect dtach does, I think it mostly passes stuff through?

  12. Link Mauve

    Last I used screen it was only just adding support for the screen-256color TERM.

  13. Link Mauve

    Right, but no pane support or anything I guess given the name.

  14. MattJ

    Soon: images in console clients. Next: video calls!

  15. Zash

    Link Mauve, correct, dtach supports *only* detaching and re-attaching a tty

  16. Link Mauve

    MattJ, I actually started writing that in poezio looooong ago, adding the required Jingle extensions to slixmpp, but I have no interest in Python any longer.

  17. Kev

    I assume roezio is Rust-based?

  18. Link Mauve

    But since I run it on my server and seldom locally, I didn’t continue on that either.

  19. MSavoritias (fae,ve)

    i mean the tox console client supports video calls for a long time now. time for xmpp to catch up :P

  20. jonas’

    just shell out to mpv --vo=sixel :D

  21. jonas’

    and pipe the video stream through an ssh channel if you have to!

  22. Link Mauve

    Kev, yes, and mostly not developed at all atm.

  23. Link Mauve

    jonas’, nowadays there is gst-meet which is also Rust-based and is compatible with Jitsi Meet and allows any Gstreamer pipeline.

  24. jonas’

    Link Mauve, but can it do --vo=sixel?!

  25. Link Mauve

    So outputting to sixel or whatever just boils down to picking (or writing) the right Gstreamer element.

  26. Link Mauve

    jonas’, none of my terminals support sixel, so I don’t even know.

  27. Menel

    I'm happy with screen and miss nothing

  28. Link Mauve

    I’d first implement Unicode half block support to support every terminal, and only then look into newer image formats.

  29. Link Mauve

    Menel, does it support true colours nowadays?

  30. Menel

    It supports true colors yes. I think there was a some point in the past some slow development and everyone switched to tmux. But as far as I know there is basically feature parity mostly now

  31. Link Mauve

    Neat, I’ll have a look someday. :)

  32. Link Mauve

    I never used screen, started with tmux instead and never looked elsewhere.

  33. MSavoritias (fae,ve)

    same

  34. jonas’

    Menel, it does? I thought screen only does 256 colors

  35. Menel

    If my eyes don't betray me it has true colors. https://wiki.archlinux.org/title/GNU_Screen Has it. For some versions of screen

  36. Menel

    Screen v5

  37. pulkomandy

    So people will go through all the trouble of using sixels instead of writing x11 or wayland applications? :)

  38. Link Mauve

    I do write Wayland applications as well, just overcoming the limitations of terminals is fun. ^^

  39. jonas’

    wow

  40. moparisthebest

    Link Mauve: time to upgrade to zellij sounds like 😁 seriously though it's great, I never miss tmux

  41. Link Mauve

    moparisthebest, does it support true colours?

  42. moparisthebest

    Yep

  43. moparisthebest

    I use it in alacritty which drops down when I hit f12, either with tdrop on anything X or leftwm

  44. rom1dep

    Yakuake user here, with generally dozen tabs and tiles on it

  45. moparisthebest

    I used yakuake for over a decade before switching to tdrop+alacritty+zellij <3

  46. SouL

    Yakuake here too

  47. Link Mauve

    moparisthebest, is there a way to make zellij waste less screen space? I’m only on 1366×768 so every character counts.

  48. Link Mauve

    Having just a single line with the tabs would be good, and one line or column to separate the panes.

  49. Link Mauve

    Having just a single line with the tabs would be good, and one line or column to separate the panes instead of two.

  50. moparisthebest

    Yes, that's a built in theme iirc, just not the default, let me see...

  51. moparisthebest

    Link Mauve: https://code.moparisthebest.com/moparisthebest/dotfiles/src/branch/master/zellij/config.kdl#L262 pretty sure just default_layout "compact"

  52. Link Mauve

    Thanks. :)

  53. Link Mauve

    moparisthebest, it still has the ugly green border around the pane, but it’s already much better thanks. :)

  54. Link Mauve

    With pane_frames false it’s usable, yay!

  55. moparisthebest

    Also simplified_ui true here, I'm sure you'll tweak until you like it :)

  56. Link Mauve

    Aaaaaah, M-j doesn’t work, that’s like the one keybind I use the most in poezio!!!

  57. Link Mauve

    Neither does ^P.

  58. citrons

    regarding poezio, I find that the latest version can't load any plugins.

  59. citrons

    or, well, the version on void.

  60. Link Mauve

    You probably should open an issue.

  61. citrons

    perhaps.

  62. moparisthebest

    Link Mauve: because other things are bound to them maybe? Try rebinding keys... I think it even has a tmux mode but I haven't used it

  63. Link Mauve

    Aside from these few things, it seems *much* slower than tmux at basically everything, including displaying my applications. :(

  64. Link Mauve

    It has already used 1:39 of CPU time, against 6:02 for tmux which has been running for a week.