Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: devohmycode/OhMyTermux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.2
Choose a base ref
...
head repository: devohmycode/OhMyTermux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 16 files changed
  • 1 contributor

Commits on Dec 3, 2025

  1. Merge pull request #2 from devohmycode/1.1.01

    chore: Update repository references and improve .gitignore
    devohmycode authored Dec 3, 2025
    Configuration menu
    Copy the full SHA
    8b9f28b View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2026

  1. Update README.md

    devohmycode authored Jan 29, 2026
    Configuration menu
    Copy the full SHA
    9e8dfa9 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2026

  1. Update README.md

    devohmycode authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    768a5c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2026

  1. Merge pull request #5 from devohmycode/1.1.02

    feat: add extensible plugin system
    devohmycode authored Feb 7, 2026
    Configuration menu
    Copy the full SHA
    9966bfd View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Merge pull request #6 from devohmycode/1.2.1

    feat: installation presets, i18n fixes, and AI tools update
    devohmycode authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    31691c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2026

  1. Merge pull request #7 from devohmycode/1.2.2

    feat: add LXQt and MATE desktop environment support
    devohmycode authored Feb 20, 2026
    Configuration menu
    Copy the full SHA
    b0f15d8 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2026

  1. Configuration menu
    Copy the full SHA
    f1cc44b View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2026

  1. Fix i18n bootstrap noise, tput dependency and branch pinning

    - lib/i18n_loader.sh: silence the "Initializing i18n system..." progress
      messages unless VERBOSE/OHMYTERMUX_VERBOSE is set or --verbose/-v is
      passed to the calling script.
    - lib/colors.sh: add an ANSI fallback for tput, defined only when the
      binary is absent. ncurses-utils is missing from a bare Termux, and
      install.sh installed it before change_repo/pkg update, so the install
      could fail silently and leave tput unavailable.
    - install.sh: the tput dependency guard now uses type -P so it ignores
      the fallback function, and drops the fallback once the real binary is
      installed.
    - Point BRANCH at main in install.sh, xfce.sh, proot.sh, mate.sh,
      lxqt.sh and utils.sh, and align the README install URLs.
    - Decouple stale-cache detection from BRANCH: I18N_EXPECTED_VERSION in
      lib/i18n_loader.sh is the content marker compared against
      MSG_I18N_VERSION. Both en.sh and fr.sh are now checked, and refreshes
      go through a temporary file so a failed download keeps the local copy.
    devohmycode committed Sep 18, 2026
    Configuration menu
    Copy the full SHA
    ed7f0a7 View commit details
    Browse the repository at this point in the history
  2. Discard terminal query replies echoed after gum spin

    gum probes the terminal for synchronized output (DECRQM mode 2026) and
    grapheme clustering (mode 2027). `gum spin` exits before reading the
    reply, so terminals that implement DECRQM echo it as ^[[?2026;2$y on the
    line where the result is about to be printed, and leave the bytes queued
    where the next read would pick them up. The Termux terminal on Android
    stays silent, so this only shows up on hosts that answer, such as a
    Termux Docker image.
    
    lib/colors.sh gains flush_terminal_input() to drain the input queue and
    clear_terminal_line() to erase the echoed bytes; execute_command() calls
    both between gum spin and gum style. Both are no-ops when stdin or
    stdout is not a terminal.
    devohmycode committed Sep 18, 2026
    Configuration menu
    Copy the full SHA
    738a3c5 View commit details
    Browse the repository at this point in the history
  3. Keep the question on screen when editing a pre-filled answer

    The prompt was printed with printf and read was then called with an empty
    readline prompt:
    
        printf "${COLOR_BLUE}Allow storage access? (O/n) : ${COLOR_RESET}"
        read -r -e -p "" -i "n" CHOICE
    
    readline therefore believed the line started at column 0. As soon as the
    pre-filled answer was erased, it redrew from there and wiped the question
    along with it.
    
    lib/colors.sh gains rl_prompt(), which builds the prompt for read -e -p
    with the color sequences wrapped in \001 and \002 so readline excludes
    them from the prompt width. Its third argument carries the color of the
    typed answer, replacing the `tput setaf 3` that ran before read: the
    prompt is emitted after that command, so its trailing reset cancelled the
    color. COLOR_INPUT holds the equivalent value.
    
    All 31 `read -e` call sites are converted, 30 in install.sh and one in
    the theme-catppuccin plugin. The remaining printf prompts precede a plain
    `read -r` with no readline and no pre-filled value, and are unaffected.
    
    Passing the text through %s also stops a percent sign in a translation
    from being read as a printf conversion.
    devohmycode committed Sep 18, 2026
    Configuration menu
    Copy the full SHA
    a7b9bda View commit details
    Browse the repository at this point in the history
  4. Refresh cached lib and i18n files when their version changes

    Everything under lib/, i18n/ and presets/ was downloaded once and then
    kept forever: lib/*.sh only when lib/common.sh was missing, bootstrap.sh
    and i18n.sh only when they were missing. An install that already had
    those files never picked up a fix, so a fresh install.sh calling
    rl_prompt failed with "rl_prompt: command not found" against a cached
    lib/colors.sh.
    
    lib/i18n_loader.sh, the one file re-downloaded on every run, now owns
    OHMYTERMUX_CACHE_VERSION. A stamp file records the version the cached
    files came from; when it differs, bootstrap.sh, the i18n system and the
    lib system are refreshed. Bumping the constant therefore reaches users on
    their next run. It replaces I18N_EXPECTED_VERSION, which covered only the
    message files, and MSG_I18N_VERSION now carries the same value.
    
    A refresh failure is never fatal when a valid local copy exists: the copy
    is kept and the stamp is left alone, so the next run retries instead of
    recording a half-updated cache as current.
    
    _download_files() and the message refresh now share the same shape,
    downloading to a temporary file and moving it into place. A failed
    download leaves the existing file untouched, and the move replaces the
    file rather than rewriting it, so a script being sourced while the lib
    system is refreshed keeps reading the copy it started with.
    
    The bootstrap URL also honours OHMYTERMUX_REPO_URL, as install.sh already
    did for the loader itself.
    devohmycode committed Sep 18, 2026
    Configuration menu
    Copy the full SHA
    1bbe513 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2026

  1. Update FUNDING.yml

    devohmycode authored Oct 24, 2026
    Configuration menu
    Copy the full SHA
    5948dd8 View commit details
    Browse the repository at this point in the history
Loading