Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console input, QoL #7

Merged
merged 9 commits into from
May 21, 2024
Merged

console input, QoL #7

merged 9 commits into from
May 21, 2024

Commits on May 7, 2024

  1. main+lib: Locky lock, implement console writing

    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 7, 2024
    Configuration menu
    Copy the full SHA
    83abd22 View commit details
    Browse the repository at this point in the history
  2. lib: Use greentext to signify send_image progress

    not to be confused with 4chan memes
    
    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 7, 2024
    Configuration menu
    Copy the full SHA
    a450862 View commit details
    Browse the repository at this point in the history
  3. main: Replace LF with CRLF for server status updates

    These can apparently be handled too slow (because the stdin handler
    thread takes its sweet time to spin up?), and receiving e.g. the
    hello message ("Starting cdba server") and some warning (like
    "cdba-server: Please switch to yaml config for ftdi_gpio configuration")
    separated with a single LF char on the server side ends up with a
    janky printout.
    
    This is not ideal, but I suppose acking of the server status updates
    could be introduced in a future update..
    
    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 7, 2024
    Configuration menu
    Copy the full SHA
    c9d457f View commit details
    Browse the repository at this point in the history
  4. main: Stop the write(ln)!(stdout()..) craziness

    stop the crossterm docs propaganda and flush stdout where ncessary
    
    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 7, 2024
    Configuration menu
    Copy the full SHA
    f2a9e7f View commit details
    Browse the repository at this point in the history
  5. main+lib: Allow for interrupting image sending

    This could probably be generalized to all messages, but apart from
    this one, I think it would only make sense to also handle this for
    cases where the user pastes 1.5GiB of plaintext into MsgConsole, but
    then stdin is clogged up and there's no signals, so CTRL+A would wait
    for its turn anyway..
    
    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 7, 2024
    Configuration menu
    Copy the full SHA
    b8e622d View commit details
    Browse the repository at this point in the history
  6. main+lib: Implement almost all special keys

    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 7, 2024
    Configuration menu
    Copy the full SHA
    703c215 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Cargo.toml: Set BSD3

    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 21, 2024
    Configuration menu
    Copy the full SHA
    3091492 View commit details
    Browse the repository at this point in the history
  2. Cargo.lock: cargo update

    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 21, 2024
    Configuration menu
    Copy the full SHA
    fc4cdad View commit details
    Browse the repository at this point in the history
  3. main+lib: Clean up macros further

    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 21, 2024
    Configuration menu
    Copy the full SHA
    6619020 View commit details
    Browse the repository at this point in the history