itsjunetime / tdf

A tui-based PDF viewer
GNU General Public License v3.0
727 stars 12 forks source link

Can't go back #5

Closed DieracDelta closed 3 months ago

DieracDelta commented 6 months ago

j works to go to the next page. k decrements the counter but the displayed content does not change. I'm on nixos and compiled with 1.80.0-nightly f3df08aa on ghostty. I'm betting some behavior changed based on terminal and toolchain. Which terminal and toolchain has this been tested on?

itsjunetime commented 6 months ago

I've been testing this with nightly toolchains for the past month or so - currently, I'm running rustc 1.80.0-nightly (6f3df08aa 2024-05-30) and those keys work fine on kitty, xterm, and terminator. I'm not certain how to get access to ghostty to test this (I saw something about it being available on the zig package manager, but I'm not quite certain how to use that), so I don't know how to test/debug this.

Are you seeing this same issue on terminals besides ghostty, e.g. kitty or wezterm?

DieracDelta commented 6 months ago

Are you seeing this same issue on terminals besides ghostty, e.g. kitty or wezterm?

It works as expected on kitty and wezterm for me! It looks like this is a ghostty specific issue.

I'm not certain how to get access to ghostty to test this

I pinged you on matrix about this.

itsjunetime commented 3 months ago

Sorry, I've been waiting for a bit to try this out, but ghostty is built with zig, and that language still doesn't work on aarch64 linux (which is what I use) - I was hoping to help out here, but it's clearly an issue with ghostty instead of tdf, so I'm going to close this.